Mashape/httpsnippet

View on GitHub
src/fixtures/requests/multipart-data.json

Summary

Maintainability
Test Coverage
{
  "method": "POST",
  "url": "http://mockbin.com/har",
  "headers": [
    {
      "name": "content-type",
      "value": "multipart/form-data"
    }
  ],
  "postData": {
    "mimeType": "multipart/form-data",
    "params": [
      {
        "name": "foo",
        "value": "Hello World",
        "fileName": "hello.txt",
        "contentType": "text/plain"
      },
      {
        "name": "bar",
        "value": "Bonjour le monde"
      }
    ]
  }
}