vendredi 17 novembre 2017

How to use Hub API using Curl in php

I have purchase Hub API from RouteHappy website for search flights using Source and Destination.

They give me below code for using their API

curl \
  -H "Auth: YOUR_API_KEY" \
  -H "Accept: application/vnd.api.v3+json" \
  -G \
  -d ids=DSM-ORD-AA-3558-20160907-FIRST \
  -d include=seat,wifi \
  YOUR_HOST/segments

But I am not able to use Flight API using Curl in PHP, Laravel.Please help me out to access API and get desire result.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hyjMBP
via IFTTT

Aucun commentaire:

Enregistrer un commentaire