Class UserProfileController

java.lang.Object
edu.ucsb.cs156.gauchoride.controllers.ApiController
edu.ucsb.cs156.gauchoride.controllers.UserProfileController

@RequestMapping("/api/userprofile") @RestController public class UserProfileController extends ApiController
  • Constructor Details

    • UserProfileController

      public UserProfileController()
  • Method Details

    • updateCellPhone

      @PreAuthorize("hasRole(\'ROLE_USER\')") @PutMapping("/update-cellPhone") public Object updateCellPhone(@RequestParam String cellPhone)