I have some resource- UserProfile
public UserProfile { public string Email{get;set;} public string Password{get;set;} }
I want to change
You have two options for updating email and password separately.
A) Don't use PUT, use POST
B) Create child resources for updating the individual elements, e.g.
PUT /api/user/123/email
And
PUT /api/user/123/password