Skip to content

Instantly share code, notes, and snippets.

@iskandarumidov
iskandarumidov / GET_Sample.txt
Last active September 16, 2018 02:46
HTTP GET Sample
GET /movies/1 HTTP/1.1
Host: www.moviestore123.com
@iskandarumidov
iskandarumidov / POST_Sample.txt
Last active September 16, 2018 02:48
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": [
{
@iskandarumidov
iskandarumidov / DELETE_Sample.txt
Created September 16, 2018 02:51
HTTP DELETE Sample
DELETE /file.html HTTP/1.1
@iskandarumidov
iskandarumidov / PUT_Sample.txt
Created September 16, 2018 02:54
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": [
{