As we know the format of PUT method in Restful should be something like this:
/api/user/{id}
and the PUT body
But is it OK if I just call /api/user
and I send the {id}
inside the PUT body like this: {"id": "1", "name": "myname"}
;
As we know the format of PUT method in Restful should be something like this:
/api/user/{id}
and the PUT body
But is it OK if I just call /api/user
and I send the {id}
inside the PUT body like this: {"id": "1", "name": "myname"}
;