Loading...
Unirest is a lightweight HTTP client library perfect for integrating with Apito's REST API tools and database API from Java applications. When working with our instant API builder, Unirest provides an easy way to connect to your API endpoints. Along with Java, it's also available for Node.js, .Net, Python, Ruby, etc.
Unirest
LibraryTip:
Always remember to replace
API_SECRET
in the Bearer Token andproject-id
in the URL with the correct values from the Apito console.
If you are unsure where to find your API secrets and endpoints for your project, visit this page.
HttpResponse<String> response = Unirest.get("https://api.apito.io/secured/rest/project-id")
.header("content-type", "application/json")
.header("authorization", "Bearer API_SECRET")
.asString();