Advertisement
Guest User

1

a guest
Aug 19th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. Request: POST https://odri-ua.com/api/v2/booking/reserve_tickets HTTP/1.1
  2. Headers:
  3. Accept: application/json
  4. Accept-Language: ru
  5. Content-Type: application/json
  6. odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  7. AdapterAuthorization: Bearer 59OEc-V2gR-
  8. Payload:
  9. {"trip_type":"oneWay","passengers":[{"first_name":"BOHDAN","last_name":"DUB","phone1":"+380671596351","trip_seats_to":[{"trip_id":9453,"seat_id":15519,"city_from_id":153,"city_to_id":14,"passenger_type_id":"1","passenger_type_discount":0,"number":1,"discount_cart_percent":0}]}],"currency_code":"UAH","hours_to_auto_cancel_reserved_status":1}
  10.  
  11. Response: HTTP/1.1 401 Unauthorized
  12. Headers:
  13. Cache-Control: no-cache
  14. Pragma: no-cache
  15. Content-Length: 58
  16. Content-Type: text/html
  17. Expires: -1
  18. Server: Microsoft-IIS/10.0
  19. WWW-Authenticate: Bearer
  20. X-AspNet-Version: 4.0.30319
  21. X-Powered-By: ASP.NET
  22. Set-Cookie: ARRAffinity=b36cae8dd4a7b40ffa3806a0fefd6c5f24f5bee42861273cb27b91a19f0f8b49;Path=/;HttpOnly;Domain=odri-ua.com
  23. Date: Mon, 19 Aug 2019 08:26:49 GMT
  24. Payload:
  25. You do not have permission to view this directory or page.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement