Here you find an example of a Java-based API client.
The example include one request: Http POST /token
, for obtaining a token from the Wonderflow API.
Table of Contents
- maven
- java 8
- Wonderflow api keys
git clone [email protected]:wonderflow-bv/wonderflow-api-java-client.git
cd wonderlfow-api-java-client
mvn clean compile assembly:single
java -jar ./target/wonderflow-api-java-client-0.0.1-SNAPSHOT-jar-with-dependencies.jar "YOUR_API_KEY" "YOUR_API_SECRET"
Example of output:
apiKey: YOUR_API_KEY
secret: YOUR_API_SECRET
Status code: HTTP/1.1 200 OK
Token is: "...the token..."