-
Notifications
You must be signed in to change notification settings - Fork 0
/
curl.txt
4 lines (2 loc) · 1.12 KB
/
curl.txt
1
2
3
4
curl 'http://localhost:8080/drivers/190/location' -X PUT -H 'Origin: chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8,en-IN;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' -H 'Postman-Token: 6278ddfc-66b4-bd9b-4f4a-64be1f9fbc17' --data-binary $'{\r"latitude": 12.97161923, "longitude": 108.59463452, "accuracy": 0.7\r}' --compressed
curl 'http://localhost:8080/drivers?latitude=12.97161923&longitude=108.59463452&radius=600&limit=10' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8,en-IN;q=0.6' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' -H 'Postman-Token: 206b9919-6e54-d2b8-d2b4-2c27a71f3684' --compressed