Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.06 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.06 KB

wonderflow-api-client

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

Requirements

  • maven
  • java 8
  • Wonderflow api keys

Usage

Clone the repo

git clone [email protected]:wonderflow-bv/wonderflow-api-java-client.git

cd wonderlfow-api-java-client

Build jar

mvn clean compile assembly:single

Run it

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..."