Last active
October 6, 2017 12:19
-
-
Save antweiss/91a7f012f77c309425105e96908e2a01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"consumer": { | |
"name": "billy" | |
}, | |
"provider": { | |
"name": "bobby" | |
}, | |
"interactions": [{ | |
"description": "Mytest", | |
"providerState": "User billy exists", | |
"request": { | |
"method": "POST", | |
"path": "/users/login", | |
"headers": { | |
"Content-Type": "application/json" | |
}, | |
"body": { | |
"username": "billy", | |
"password": "issilly" | |
} | |
}, | |
"response": { | |
"status": 200 | |
} | |
}], | |
"metadata": { | |
"pactSpecification": { | |
"version": "2.0.0" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment