HTTP Get Method


#1

Does anyone have any documentation or sample code on how to do a simple HTTP Get request?

This is what the website says…
‘While supporting full Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL), DirectFlight also supports a simplified query mechanism where the query is coded into a standard HTTP “get” request.’


#2

Your development language should handle that for you. However, after the “POST” command, it should be sending something like this should sent to the server:


Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

The second authorization argument is “user:password” in base64 encoding.