Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl 'http://delivery.moscowfresh.ru/route/106/' -H 'Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiZGVsaXZlcnlAbW9zY293ZnJlc2guY29tIiwiZXhwIjoxNTEzMDI1MzkwLCJ1c2VybmFtZSI6ImRlbGl2ZXJ5IiwidXNlcl9pZCI6Mn0.o0H0FV5U8dtX4kc4wNuzEUNMPjOn4hGOI76kWDVV90A' -H 'Origin: http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Referer: http://localhost:8080/' -H 'Connection: keep-alive' --compressed
- ответ
- {"id":106,"shop":{"name":"Moscow Fresh"},"orders":[9],"status":1,"start_time":null,"end_time":null,"estimated_distance":null,"estimated_time":7502,"courier":41}
- затем запрашиваю
- curl 'http://delivery.moscowfresh.ru/order/9/' -H 'Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiZGVsaXZlcnlAbW9zY293ZnJlc2guY29tIiwiZXhwIjoxNTEzMDI1NTEyLCJ1c2VybmFtZSI6ImRlbGl2ZXJ5IiwidXNlcl9pZCI6Mn0.Q0u24e0LdJU7KRAlw82u6KgLyLVGA_4sY7EvP8koDz0' -H 'Origin: http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: */*' -H 'Referer: http://localhost:8080/' -H 'Connection: keep-alive' --compressed
- ответ
- {"detail":"Not found."}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement