Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTTP PUT Sample
PUT /movies/1 HTTP/1.1
Host: http://www.moviestore123.com
Content-Type: application/json
{
"name": "Sweeney Todd 2",
"year": "2019",
"rating": "R",
"actors": [
{
"id": "55"
},
{
"id": "11"
},
{
"id": "98"
},
{
"id": "22"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment