Skip to content

Instantly share code, notes, and snippets.

@apemberton
Created February 14, 2011 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apemberton/826290 to your computer and use it in GitHub Desktop.
Save apemberton/826290 to your computer and use it in GitHub Desktop.
Geolocation on IE9 (with wireless support)
POST https://inference.location.live.net/inferenceservice/v21/Pox/GetLocationUsingFingerprint HTTP/1.1
Accept: */*
Accept-Language: en-us
Content-Type: text/xml
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Host: inference.location.live.net
Content-Length: 1066
Connection: Keep-Alive
Cache-Control: no-cache
<GetLocationUsingFingerprint xmlns="http://inference.location.live.com"><RequestHeader><Timestamp>2011-02-14T16:22:47.0000968-05:00</Timestamp><ApplicationId>e1e71f6b-2149-45f3-a298-a20682ab5017</ApplicationId><TrackingId>21BF9AD6-CFD3-46B3-B041-EE90BD34FDBC</TrackingId><DeviceProfile ClientGuid="0fc571be-4624-4ce0-b04e-911bdeb1a222" Platform="Windows7" DeviceType="PC" OSVersion="7600.16695.amd64fre.win7_gdr.101026-1503" LFVersion="9.0.8080.16413" ExtendedDeviceInfo="" /><Authorization /></RequestHeader><BeaconFingerprint><Detections><Wifi7 BssId="00:1c:b3:af:97:6e" rssi="-25" /><Wifi7 BssId="90:84:0d:de:6d:99" rssi="-45" /><Wifi7 BssId="78:ca:39:42:7d:77" rssi="-47" /><Wifi7 BssId="78:ca:39:42:6a:d1" rssi="-51" /><Wifi7 BssId="90:84:0d:de:6d:9a" rssi="-59" /><Wifi7 BssId="00:1e:52:7b:ad:49" rssi="-60" /><Wifi7 BssId="00:26:62:b0:18:e9" rssi="-61" /><Wifi7 BssId="00:0f:b5:a0:22:76" rssi="-67" /><Wifi7 BssId="00:1d:7e:a0:90:7f" rssi="-69" /><Wifi7 BssId="00:22:6b:ea:c8:89" rssi="-84" /></Detections></BeaconFingerprint></GetLocationUsingFingerprint>
HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Mon, 14 Feb 2011 16:22:47 GMT
Content-Length: 735
<?xml version="1.0" encoding="utf-8"?><GetLocationUsingFingerprintResponse xmlns="http://inference.location.live.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetLocationUsingFingerprintResult><ResponseStatus>Success</ResponseStatus><LocationResult><ResolverStatus Status="Success" Source="Internal"/><ResolvedPosition Latitude="37.605433" Longitude="-77.527176" Altitude="0"/><RadialUncertainty>350</RadialUncertainty><TileResult/><TrackingId>21bf9ad6-cfd3-46b3-b041-ee90bd34fdbc</TrackingId></LocationResult><ExtendedV21Result CrowdSourcingLevel="Medium" ServerUtcTime="2011-02-14T16:22:47.645487Z"/></GetLocationUsingFingerprintResult></GetLocationUsingFingerprintResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment