Skip to content

Instantly share code, notes, and snippets.

@uglyog
Created May 16, 2014 01:17
Show Gist options
  • Save uglyog/f15c44857fee4dfab30f to your computer and use it in GitHub Desktop.
Save uglyog/f15c44857fee4dfab30f to your computer and use it in GitHub Desktop.
{
"provider": {
"name": "Event API"
},
"consumer": {
"name": "Source System"
},
"interactions": [
{
"description": "A POST request with an event",
"request": {
"method": "post",
"path": "/events",
"headers": {
"Content-Md5": "QRYlWyL4AwKkqs2sfV6WBA==",
"X-Hmac-Date": "Tue, 13 May 2014 05:57:15 GMT",
"Authorization": "HMAC a59a8cb934fa910d62a61fd19bbfbb23ba1c4caa",
"Content-Type": "application/json"
},
"body": {
"eventId": "80573745-eaee-4e5e-8000-d0eb938c826b",
"timestamp": "2014-05-13 05:57:15 UTC",
"host": null,
"remoteAddress": null,
"eventType": null,
"user": null
}
},
"response": {
"status": 201
}
}
],
"metadata": {
"pactSpecificationVersion": "1.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment