Last active
August 26, 2023 17:26
-
-
Save thanos/9d9747af7b7a32652f2757423436d8c5 to your computer and use it in GitHub Desktop.
Using Xeni Travel Api to fetch a hotel detail and it's availability
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X 'GET' "$XENI_API_HOST/api/accommodation_searches/accommodation?search_id=962c9315-0e35-45e3-b158-be10c860912d&property_id=40553&raw=true" \ | |
-H "accept: application/json" \ | |
-H "authorization: bearer: $XENI_TOKEN" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment