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
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python. | |
Usage:: | |
./dummy-web-server.py [<port>] | |
Send a GET request:: | |
curl http://localhost |
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
GET /plus/v2whitelisted/people/lookup?includePeople=1&includeGal=1&type=phone&fields=kind,items(id,metadata(objectType,plusPageType,attributions),names,phoneNumbers(value,type,formattedType,canonicalizedForm),addresses(value,type,formattedType),images(url,metadata(container)),urls(value),placeDetails)&includePlaces=1&callType=outgoing&id=%2B441934834343 HTTP/1.1 | |
Authorization: Bearer xxxxxxxxxREDACTEDxxxxxxxxxxxxx | |
User-Agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; Nexus 6 Build/MMB29S) | |
Host: www.googleapis.com | |
Connection: Keep-Alive | |
Accept-Encoding: gzip | |
HTTP/1.1 200 OK | |
Expires: Fri, 29 Jan 2016 12:47:28 GMT |