JAVA Client Example of Accessing APIManager via simple HTTP Client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.project Initial Commit May 21, 2014


JAVA Client Example of Accessing APIManager via simple HTTP Client

A simple APIManagerClient provides simple demonstration of Authenticating and accessing protected API Manager Resources using Java and Apache HttpClient constructs.

The intent is to provide base rudiments and for these to be applied and evolved upon for Use Cases which involve accessing MuleSoft API Manager Resources.

For details on the API Manager REST API, please see the API Manager Console, referenced below.

Please see the following for additional reference:


The only requirement is to have JAVA SDK and Maven installed and available.
This project can easily be imported into Anypoint Studio or Native Eclipse.


To build the simple project and run the Test Suite, perform the following command:

mvn clean install


To run from command line using Maven perform the following command substituting your Credentials:

mvn exec:java -Dexec.mainClass="org.mulesoft.apimanager.client.APIManagerClient" \
              -Dexec.classpathScope=runtime \
              -Dexec.args="arg0 arg1"


  • arg0 is your API Manager Account Principal
  • arg1 is your API Manager Account Credentials