Using the REST API

Introduction

Your license can be checked and installed through this API endpoint.

Technical information

Authentication

You send along a pair of regular op5 Monitor user credentials in a basic auth header with every request. View any example and you will understand how to do this.

Requests

In a REST-API, there are a couple of important things that make up for a valid request:

Once again, viewing any of the examples helps you get into the REST mindset.

Responses

You need to examine two things in the response: the status code and the body. The status code tells you what Monitor did with your input and the body gives you a detailed response.

Examples of status codes:

These status codes are general for all web traffic and can be found at the List of HTTP status codes