swagger.examples.requests.yaml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wiremock-standalone Show documentation
Show all versions of wiremock-standalone Show documentation
A web service test double for all occasions - standalone edition
requests:
- url: "/my/url"
absoluteUrl: http://mydomain.com/my/url
method: GET
headers:
Accept-Language: en-us,en;q=0.5
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20100101
Firefox/9.0
Accept: image/png,image/*;q=0.8,*/*;q=0.5
body: ''
browserProxyRequest: true
loggedDate: 1339083581823
loggedDateString: '2012-06-07 16:39:41'
- url: "/my/other/url"
absoluteUrl: http://my.other.domain.com/my/other/url
method: POST
headers:
Accept: text/plain
Content-Type: text/plain
body: My text
browserProxyRequest: false
loggedDate: 1339083581823
loggedDateString: '2012-06-07 16:39:41'