Replies: 2 comments 2 replies
-
Wdyt in remove - endpoint:
method: POST
path: /with-postback
response:
status: 200
headers:
Content-Type: application/json
body: {"id": 123}
webhook:
path: https://api.test.com/api/webhook/:id/something #it will call an webhook with the id 123
method: POST
sleep: 60 # in seconds
... # other parameters for calling the api, ex auth
body: {"id": 123, "another-field": "it's working"}
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Should the What's your opinion @matheusfrancisco? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
asynchronous endpoint (which does not respond to the payload as soon as it receives the request), returns the identification (id), after X time makes a request to an "external api" (or another mock endpoint).
background processing can be a sleep (waiting time)
example:
Beta Was this translation helpful? Give feedback.
All reactions