OPA provides policy-based control for cloud native environments. The following endpoints (such as PUT /v1/policies
) provide reference documentation for the OPA REST API.
Use this page to mock Open Policy Agent (OPA) REST API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of Open Policy Agent (OPA) REST API, which will allow you to keep building and testing even if the actual API you isn't currently available.