Use Zimbra REST API with Java

General discussion about Zimbra Desktop.
manawa
Posts: 5
Joined: Mon Feb 15, 2016 7:02 am

Use Zimbra REST API with Java

Postby manawa » Mon Feb 15, 2016 7:18 am

I am using the REST API to get a few things from my Zimbra server in a Java application.


Following the https://wiki.zimbra.com/wiki/Zimbra_REST_API_Reference documentation, I unfortunately don't understand how to pass on the credentials (username / password).


The REST API seems to work fine (in browser or with the "Advanced REST client" Chrome extension) as I get prompted for the credentials when using auth=ba or auth=sc.


But I don't understand how I am supposed to deal with credentials in Java code !


Thanks for helping, web searches have been unsuccessful so far.






Return to “General Questions”

Who is online

Users browsing this forum: No registered users and 3 guests