Instantly share code, notes, and snippets.

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