Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanwesterbeek committed Jan 10, 2014
1 parent 0bda82b commit ce0e62a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@ Node based JSON/HTTP proxy to the Clang's SOAP webservice API.

This is a restful webservice that proxies HTTP requests to Clang's SOAP API, passing along any parameters in the query string. All requests are proxied to Clang using HTTPS. Returns SOAP responses as JSON.

##Demo version here

https://node.leadstoloyals.com

##Authentication
##Token

Authentication to the Clang Webservice API is done using a token (uuid). Contact the Support Desk of your Clang reseller to obtain a token. [Contact Leads to Loyals](http://www.leadstoloyals.nl/en/contact.html) if you'd like to learn more about using Clang and this API.

##Resources
Add the token value as a _uuid query parameter. It will be kept in your session which is maintained using a cookie. The supplied token will be proxied to Clang with each request.

The first request to any resource will result in a 401 to indicate the uuid is missing. Then you can add _uuid to the query parameters. It will be kept in your session. Session is maintained using a cookie. The supplied uuid will be proxied to Clang with each request.
If you have a token, you can use the demo here https://node.leadstoloyals.com

The next request (with uuid) may result in a 503 error ('Clang api not created yet. Try again in a few seconds.'). Just try again in a few seconds.
##Resources

###customers

Expand Down

0 comments on commit ce0e62a

Please sign in to comment.