Generating the authentication header with Basic Authentication
This article contains information on the V1 XML API which has been deprecated. For docs on the V2 JSON API please see here:
This article discusses how to create the header that is required when retrieving data from your ScreenSteps account using the ScreenSteps Live API and a user account's username/password.
Authorization header when using a ScreenSteps Live user account username/password
Content-Type: application/xml
Accept: application/xml
Date: Tue, 06 Jan 2009 17:56:39 GMT
Authorization: Basic AUTH_STRING
Generating the AUTH_STRING
To generate the AUTH_STRING to use with Basic authentication you simply base64 encode the username and password separated by a colon.
Here is an example in PHP:
$header = "Authorization: Basic " . base64_encode($username . ':' . $password);
0 Comments
Add your comment