Example of HTTP response containing cookies: Content-Type: text/xml; charset=UTF-8 Content-Length: 284 Connection: close Access-Control-Allow-Origin: * P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA" Set-Cookie: TFLB=tfFastApiL1;path=/;httponly Example of subsequent HTTP request (in same session) where cookie is submitted: POST /api-v2/ HTTP/1.0 User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 zlib/1.2.3 Host: api.travelfusion.com Accept: */* Cookie: TFLB=tfFastApiL1 Accept-Encoding: gzip Content-Type: text/xml; charset=utf-8 Content-Length: 366 |
Connection Guide >