Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.

REST API

wes edited this page Apr 28, 2019 · 4 revisions

Getting Started

Authorization

There's a bug in the Swagger doc (see below) that doesn't represent the Authorization header required to make a request. MAKE SURE YOU SET THIS HEADER.

$ curl -H "Authorization:1234" -XGET http://localhost:5000/ping/
{"status":"success","data":1556461513.2444939613}

OpenAPI (AKA: Swagger)

The REST API doc is now available via your local CIF instance using Swagger. Simply navigate to http://localhost:5000 using your browser to begin.