{
"id" : "21fba65e-23ce-4be9-82c1-02a779dd669c",
"request" : {
"urlPattern" : "v1/safe/files/1234/url?tokenCreator=Creator&tokenExpires=1800",
"method" : "GET"
},
"response" : {
"status" : 201,
"body" : "this will return the body",
"headers" : {
"Content-Type" : "application/json"
}
},
"uuid" : "21fba65e-23ce-4be9-82c1-02a779dd669c",
"persistent" : true
}and i sending the request mapping request as
http://localhost:8080/v1/safe/files/1234/url?tokenCreator=Creator&tokenExpires=1800
Wiremock verbose response:
Closest match:
{
"urlPattern" : "/v1/safe/files/1234/url?tokenCreator=Creator&tokenExpires=1800",
"method" : "GET"
}Authorization: [Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbGxpX2lkdCI6IkFwcGxpY2F0aW9uIiwic3ViIjoidXJuOmVsbGk6c2VydmljZTplZGVsaXZlcnkiLCJhdWQiOiJ1cm46ZWxsaTpzZXJ2aWNlOm1lZGlhIiwic2NvcGUiOiJhcGlwbGF0Zm9ybSIsImlzcyI6InVybjplbGxpOnNlcnZpY2U6aWRzIiwianRpIjoiNmZkMTI2ZDctMzRjOC00YTM4LTliNjgtZDM1MTkyYjRiNjJiIiwiaWF0IjoxNTA3NzM3OTM0LCJleHAiOjE1MDc3MzgyMzR9.hj5tiKmEG2HAtL-BxqWuGTYNRkPJdRcBYaArY4JS9tw]
Host: [localhost:8080]
Accept: [application/json]
X-Correlation-Id: [ce24b495-14be-4433-85cb-86f8e25584dd]
Matched response definition:
(no response definition configured)
Response:
HTTP/1.1 404
(no headers)
Any help or feedback would be very helpful. Where i am going wrong?