[XSnippets] – IBM Notes Traveler Administration REST API Test

I could not get the example in the IBM Notes Traveler Administration API to work. So I wrote my own test code.

The code connects on http port 80 to the Traveler Server ( 9.0.0.1 is needed !), does a basic authentication and prints the result of the GET request to the console.

You need to download HttpClient 4.2.5 from http://hc.apache.org/downloads.cgi and configure the build path to use the jars from the download.