I'm having a problem with this technology,
I already have created a entry in my web api controller that allows me to create users:
public IHttpActionResult PostUser(User user)
and I can consume this rest service with postman like this:
Now I want to create a similar entry but this time with 2 parameters, like this:
public IHttpActionResult PutUser(int id, User user)
MY PROBLEM IS THAT I CAN'T REACH THIS METHOD WITH POSTMAN
I already try:
- Add my "id" parameter on postman heather
- Add my "id" parameter on postman body-form-data
- Add my "id" parameter on postman body-x-www-form-urlencoded
- Add my "id" parameter on postman body-raw befor and after the json code using as separator ['&' , ','] and as asignation char [':', '='].
none of these worked and I ran out of ideas.
does anyone knows how to invoke this service properly ?
best regards!