Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Last active April 14, 2018 12:56
Show Gist options
  • Save samueleresca/e79a70f4efdf54f3d9189b89607f1214 to your computer and use it in GitHub Desktop.
Save samueleresca/e79a70f4efdf54f3d9189b89607f1214 to your computer and use it in GitHub Desktop.
GET /label HTTP/1.1
Host: localhost:5000
Content: application/json
POST /label HTTP/1.1
Host: localhost:5000
Content: application/json
{
"code":"test",
"isoCode":"IT",
"content":"Test Content",
"inactive":false
}
PUT /label/1 HTTP/1.1
Host: localhost:5000
Content: application/json
{
"code":"test",
"isoCode":"EN",
"content":"Content Updated",
"inactive":false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment