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("/updatecellphone") public Object updateCellphone(@RequestParam String cellphone)