Skip to content

Instantly share code, notes, and snippets.

@LokeshAggarwal2
Created Sep 15, 2020
Embed
What would you like to do?
@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