The easiest way to proxy HTTP/HTTPS requests from your application to any APIs endpoint
Given the initial idea of mocking data needed for an application, currently GET method is supported only
-
Here it's available the Swagger documentation
-
Perform a
POST
request to/api/v1/{mp_key}
endpoint to create a new keycurl -X POST \ https://mockproxy.herokuapp.com/api/v1/jsonplaceholder \ -H 'Content-Type: application/json' \ -d '{ "basePath":"https://jsonplaceholder.typicode.com" }'
-
Begin using
mockproxy
as the public API for your just created key above to retrieve (and store) mock datacurl -X GET \ https://mockproxy.herokuapp.com/api/v1/jsonplaceholder/comments