sendmock_http_bin_create
Add a bin; 409 when the name is taken.
Toolset http.
| Input | Type | Description |
|---|---|---|
| namerequired | string | The bin's name; your app calls /catch/<name>/....Example: slack |
| preset | string | A ready-made bin that answers like the real service ( slack, discord, teams, google_chat, telegram, fcm, expo, onesignal, generic); null for a plain bin.One of: slack, discord, teams, google_chat, telegram, fcm, expo, onesignal, genericExample: slack |
Example call
{
"name": "sendmock_http_bin_create",
"arguments": {
"name": "slack",
"preset": "slack"
}
}Result: HttpBin
- API
- POST
/api/v1/http/bins - CLI
sendmock http bin create- In the app
- HTTP Catcher > New bin