Created
May 29, 2015 06:16
-
-
Save menghan/0abf28610ea08767cf4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
menghan@ppfili:~/codespace/moviepp (git::master) $ curl -v 'http://localhost:5000//api/v1/cinemas?Authorization=1&q=%E5%8C%97%E4%BA%AC' | |
* Hostname was NOT found in DNS cache | |
* Trying ::1... | |
* connect to ::1 port 5000 failed: Connection refused | |
* Trying 127.0.0.1... | |
* Connected to localhost (127.0.0.1) port 5000 (#0) | |
> GET //api/v1/cinemas?Authorization=1&q=%E5%8C%97%E4%BA%AC HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: localhost:5000 | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK | |
* Server gunicorn/19.3.0 is not blacklisted | |
< Server: gunicorn/19.3.0 | |
< Date: Fri, 29 May 2015 06:15:33 GMT | |
< Connection: close | |
< Content-Type: application/json | |
< Content-Length: 553 | |
< | |
{ | |
"data": { | |
"list": [ | |
{ | |
"dist": "1km", | |
"fav": true, | |
"id": 1, | |
"location": "\u5317\u4eac", | |
"name": "\u534e\u661fUME", | |
"tel": "13800138000" | |
}, | |
{ | |
"dist": "1km", | |
"fav": true, | |
"id": 2, | |
"location": "\u4e0a\u6d77", | |
"name": "\u4fdd\u5229\u5927\u5267\u9662", | |
"tel": "13800138000" | |
} | |
] | |
} | |
} | |
* Closing connection 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment