This repository was archived by the owner on Mar 28, 2019. It is now read-only.
Description I'm seeing some unexpected results when trying to request the /v1/ endpoint, specifically around the escaping of the slashes in the URLs:
{"url" :" https:\/\/ readinglist.stage.mozaws.net" ,"documentation" :" https:\/\/ readinglist.readthedocs.org\/ " ,"version" :" 1.3.0" ,"hello" :" readinglist" }
curl:
$ curl https://readinglist.stage.mozaws.net/v1/
{" url" :" https:\/\/readinglist.stage.mozaws.net" ," documentation" :" https:\/\/readinglist.readthedocs.org\/" ," version" :" 1.3.0" ," hello" :" readinglist" }
httpie:
This seems to correctly convert the backslashes. 🤷
$ http GET https://readinglist.stage.mozaws.net/v1/
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,X-Conditions-Accepted
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Expose-Headers: Backoff, Retry-After, Alert
Access-Control-Max-Age: 1728000
Backoff: None
Connection: keep-alive
Content-Length: 146
Content-Type: application/json; charset=UTF-8
Date: Thu, 26 Mar 2015 22:17:43 GMT
{
"documentation": "https://readinglist.readthedocs.org/",
"hello": "readinglist",
"url": "https://readinglist.stage.mozaws.net",
"version": "1.3.0"
}
Reactions are currently unavailable