Authentication Token

API Testing with Restlet

 

Restlet is a powerful extension from Chrome which provides automated API testing. You can easily test requests with the Neobi API in minutes using the user friendly extension.

Restlet Client is the most popular REST client available as a Chrome extension. It automatically updates itself, can be opened in one or several browser tabs and comes with a convenient browser toolbar icon.

If you haven't already, please sign up for a Free account in the Developer portal. Also, download the latest copy of Restlet client so you can follow along.

1) Register an Application with Neobi

To obtain a ‘client_id’ and ‘client_secret’, you must register an Application in the Developer portal:



Once we receive and approve your request, you will get an email with the ID and secret. Keep these safe and do not let anyone access them.

2) Use Restlet to alobtain an Authentication Token

In order to make requests to the Neobi Cannabis API, you must use an authentication token which you can obtain by the following configuration. In the Restlet application, choose POST as the type and send a request to the following authorization endpoint:

https://login.microsoftonline.com/4bf81f4b-8e8b-4b76-9ad7-232c8b879eea/oauth2/token

 

Authentication Token

Add these Key / Value pairs to the Body of the request and you should get a response with an access token / bearer:Access token

Hit SEND and you should receive a response with several values including a bearer token which you can copy and use in any subsequent Requests.

Execute Single API

Card image cap

Get started

Tutorial on how to get started with the Neobi API

Read More
Card image cap

Neobi + Restlet (Chrome Extension)

Use the most popular Chrome REST client in the app store. Restlet...

Read More