0

according to https://wiremock.org/docs/running-standalone/ , we can mock api hosted on localhost . but how we can do the same process for api hosted remotely ? somthing like this ..

curl -X POST --data 
'{ "request": { "url": "https://example.com/get/user/1", "method": "GET" },
"response": { "status": 200, "body": "Here it is!\n" }}'
 http://localhost:8080/__admin/mappings/new

0 Answers0