|
|
|
|
|
by forgeman
6486 days ago
|
|
curl --header "Content-Type: text/xml" --data "<?xml version='1.0'?><LocationRQ xmlns='http://skyhookwireless.com/wps/2005' version='2.6' street-address-lookup='full'><authentication version='2.0'><simple><username>beta</username><realm>js.loki.com</realm></simple></authentication><access-point><mac>YOURMACADDRESS</mac><signal-strength>-50</signal-strength></access-point></LocationRQ>" https://api.skyhookwireless.com/wps2/location
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
except you have an extra xml tag at the end