A Simple RESTful Service: Difference between revisions

m
JSON link
m (Adding link)
m (JSON link)
Line 603: Line 603:
</source>
</source>


To modify (update) an existing customer you will need to use PATCH to that customer's ''instance'' (e.g.: .../customerAPI/customers/101), passing the JSON to update it with, e.g.:
To modify (update) an existing customer you will need to use PATCH to that customer's ''instance'' (e.g.: .../customerAPI/customers/101), passing the [[JSON]] to update it with, e.g.:
<source lang="JSON">
<source lang="JSON">
{
{