shoaibalam
8 years agoNew Contributor
Missing matching response for specified Accept header
I have an accept header
- name: Accept
in: header
type: string
required: true
description: application/json; version=1.0.0
default: application/json; version=1.0.0
The corresponding Curl command is
curl -X POST "https://virtserver.swaggerhub.com/SEG/Redemption/0.1/rewards" -H "accept: application/json" -H "Authorization: b2csegSSOApp1" -H "Accept: application/json; version=1.0.0" -H "Content-Type: application/json" -d "{ \"voucherSetupId\": 8797897}"
When I try to use Auto Mocking I am getting the following resposne:
{ "message": "Missing matching response for specified Accept header" }
Any help much appreciated.