insomnia-mockbin
insomnia-mockbin copied to clipboard
API needs to be reviewed
- Responses are JSON values, not JSON objects
- Documentation is lacking, for example to create a bin the doc first says to make a request to
/bin/create/view
and then the example makes a request to/bin/create
. - The response headers are taking over:
Date: Thu, 18 Jun 2015 01:13:32 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 38
Connection: keep-alive
Set-Cookie: __cfduid=dcb1d29558529df081a2c4c362473dd4a1434590012; expires=Fri, 17-Jun-16 01:13:32 GMT; path=/; domain=.mockbin.org; HttpOnly
Vary: X-HTTP-Method-Override, Accept, Accept-Encoding
Location: /bin/923ab34b-b556-4364-8781-fe57082756e5
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST
Access-Control-Allow-Headers: host,connection,accept-encoding,x-forwarded-for,cf-ray,x-forwarded-proto,cf-visitor,user-agent,accept,content-type,cf-connecting-ip,x-request-id,x-forwarded-port,via,connect-time,x-request-start,total-route-time,content-length
Access-Control-Allow-Credentials: true
Etag: W/"26-f46d0bba"
Via: 1.1 vegur
Server: cloudflare-nginx
CF-RAY: 1f8321d9d0a31fee-DFW
Might be a Clouflare problem too.
@ahmadnassri is losing karma points...