Overview
WireMock is a popular open-source tool for API mock testing with over 5 million downloads per month.
WireMock is a development API from wiremock.org. It needs no API key. It is served over plain HTTP. Its OpenAPI description documents 33 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- No
- CORS
- Unknown
- Category
- Development
- Version
- 2.35.0
- Endpoints
- 33
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-06
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /__admin/mappings | Get all stub mappings |
| POST | /__admin/mappings | Create a new stub mapping |
| DELETE | /__admin/mappings | Delete all stub mappings |
| POST | /__admin/mappings/find-by-metadata | Find stubs by matching on their metadata |
| POST | /__admin/mappings/import | Import stub mappings |
| POST | /__admin/mappings/remove-by-metadata | Delete stub mappings matching metadata |
| POST | /__admin/mappings/reset | Reset stub mappings |
| POST | /__admin/mappings/save | Persist stub mappings |
| GET | /__admin/mappings/{stubMappingId} | Get stub mapping by ID |
| PUT | /__admin/mappings/{stubMappingId} | Update a stub mapping |
| DELETE | /__admin/mappings/{stubMappingId} | Delete a stub mapping |
| POST | /__admin/near-misses/request | Find near misses matching specific request |
| POST | /__admin/near-misses/request-pattern | Find near misses matching request pattern |
| POST | /__admin/recordings/snapshot | Take a snapshot recording |
| POST | /__admin/recordings/start | Start recording |
| GET | /__admin/recordings/status | Get recording status |
| POST | /__admin/recordings/stop | Stop recording |
| GET | /__admin/requests | Get all requests in journal |
| DELETE | /__admin/requests | Delete all requests in journal |
| POST | /__admin/requests/count | Count requests by criteria |
| POST | /__admin/requests/find | Find requests by criteria |
| POST | /__admin/requests/remove | Remove requests by criteria |
| POST | /__admin/requests/remove-by-metadata | Delete requests mappings matching metadata |
| POST | /__admin/requests/resetdeprecated | Empty the request journal |
| GET | /__admin/requests/unmatched | Find unmatched requests |
| GET | /__admin/requests/unmatched/near-misses | Retrieve near-misses for all unmatched requests |
| GET | /__admin/requests/{requestId} | Get request by ID |
| DELETE | /__admin/requests/{requestId} | Delete request by ID |
| POST | /__admin/reset | Reset mappings and request journal |
| GET | /__admin/scenarios | Get all scenarios |
| POST | /__admin/scenarios/reset | Reset the state of all scenarios |
| POST | /__admin/settings | Update global settings |
| POST | /__admin/shutdown | Shutdown the WireMock server |
Questions
Does the WireMock API need an API key?
No. The WireMock API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the WireMock API support HTTPS?
The WireMock API is listed as HTTP only, so avoid sending secrets to it.
How many endpoints does the WireMock API have?
Its OpenAPI description lists 33 endpoints in version 2.35.0. All of them are shown on this page.
What are alternatives to the WireMock API?
Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.
Similar development APIs
Compare alternatives →Cloudflare
DevelopmentManage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
Azure DevOps
DevelopmentThe Azure DevOps basic components of a REST API request/response pair
IPify
DevelopmentA simple IP Address API
App Store Connect API
DevelopmentThe data structure that represents an app store connect api resource.
StackExchange
DevelopmentQ&A forum for developers
IPinfo
DevelopmentAnother simple IP Address API
Listed from APIs.guru (CC0).