json - How to implement REST API Request URL/Headers/Body into https or code -


i working sabre's api (https://developer.sabre.com/io-docs). documentation leave lot desired, noob. sabre giving me following details call response shows rental car availability. have no clue - take data , load https/url? write python code , execute it? please help!

request uri

https://api.test.sabre.com/v2.4.0/shop/cars 

request headers

authorization: bearer t1rlaqi5v/zsp6o3wmzg10msbqkpekushbce+bj0dkksbv3/rpv3u5ckaacgyuisgzpk607+y43m/veg1tsblwgozpopduj+fa27070vbzfawkmxt5od66o3k1c/n6hu9kknizc2fuplxumkattueprzy8eud+mz9e/0wvcqeqrnu3z9y/79wndw3jgyxk8gb05h5rdjavfpbhjaje/ropqw7fisgzyj56eveyp4bmcswj3bsjkbejbnon82re5iph94ntmx/hpii/7v+g** 

x-originating-ip: 98.116.41.181 content-type: application/json

request body

{  "ota_vehavailraterq": {    "vehavailrqcore": {      "querytype": "shop",      "vehrentalcore": {        "pickupdatetime": "04-08t09:00",        "returndatetime": "04-09t11:00",        "pickuplocation": {          "locationcode": "dfw"        }      }    }  }  } 


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -