Reputation: 4048
I have went through the documentation of Apiary but did not find out how to create a blue print to update a resource.
What I am trying to achieve here is a simple scenario such as having a list of users, being able to list them, retrieve a single user by id, define different attributes for that user, modify one-n attributes of that user (updating that user), and delete that user.
Could someone redirect me to some clear documentation or to a stackoverflow question that I have missed during my research and that would help me achieve this?
Upvotes: 2
Views: 596
Reputation: 4481
I think you have to use PUT
or PATCH
method for update resource. Look into this blog post here are some examples.
Upvotes: 1