Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@LokeshAggarwal2
Created September 15, 2020 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LokeshAggarwal2/3dc93da4f705e58acf288c8baf0a436e to your computer and use it in GitHub Desktop.
Save LokeshAggarwal2/3dc93da4f705e58acf288c8baf0a436e to your computer and use it in GitHub Desktop.
@RestController
public class UserController {
@Autowired
private RegistrationService registrationService;
@PostMapping("/register/seller")
public String registerAsSeller(@RequestBody String data) throws InterruptedException {
return registrationService.registerUser(data);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment