Last active
December 27, 2019 10:34
-
-
Save sankita15/0059b8cfa5e9f2353fdb51554d5ee5bd to your computer and use it in GitHub Desktop.
Wedding Invitation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.backend.controller; | |
import org.springframework.web.bind.annotation.*; | |
@RestController | |
@RequestMapping("/api") | |
public class InvitationController { | |
@PostMapping("/invite/{name}") | |
public String getConfirmationMessage(@PathVariable String name){ | |
return "Hello"+name.toUpperCase()+", Welcome to grand wedding"; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment