Skip to content

Instantly share code, notes, and snippets.

@matryer
Created January 13, 2016 17:00
Show Gist options
  • Save matryer/579b4c248455a4eab8a4 to your computer and use it in GitHub Desktop.
Save matryer/579b4c248455a4eab8a4 to your computer and use it in GitHub Desktop.
Example Silk API test file

Comments

POST /comments

Create a comment.

  • Content-Type: "application/json"
  • Accept: "application/json"
{
  "name": "Mat",
  "comment": "Writing tests is easy"
}

===

  • Status: 201
  • Content-Type: "application/json"
{
  "id": "123",
  "name": "Mat",
  "comment": "Writing tests is easy"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment