dukable
dukable

Reputation: 4048

API Blueprint - How to perform a simple UPDATE

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

Answers (1)

Ladislav Prskavec
Ladislav Prskavec

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

Related Questions