stubs
Add a new stub to the store
Creates a new stub or multiple stubs and adds them to the storage
post/stubs
Request body
Example request
[
{
"id": "51c50050-ec27-4dae-a583-a32ca71a1dd5",
"service": "Gripmock",
"method": "SayHello",
"output": {
"error": "Message not found",
"code": 3,
"delay": "1s"
}
}
]Response
Successful operation
ID[] required
Example response
[ "51c50050-ec27-4dae-a583-a32ca71a1dd5" ]