FR US PT-BR

Mocky

Mock your HTTP responses to test your REST API

> PUT https://www.mocky.io/v2/5185415ba171ea3a00704eed
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=UTF-8
{ "hello": "world" }

You can now simulate a delay by adding ?mocky-delay=100ms to your response (format / max: 60s).
CORS Preflight requests are automatically accepted from any origin.
Generate your custom response
 

:

Eg: ETag, If-None-Match, Expires, Last-Modified, Server, X-Cache, Cache-Control,
X-Frame-Options, Server, Set-Cookie, X-UA-Compatible...
Switch to advanced mode

Tips

Jsonp Support
Add ?callback=myfunction to your mocky URL to enable jsonp.
Response delay
Add ?mocky-delay=100ms to delay responding (format / max: 60s).
CORS
All CORS preflight requests are automatically accepted from any origin.