Postman is a program that allows the user to interact with HTTP APIs. When used with Just Add Power, it can send POST and GET requests and display the responses.
It is a useful tool when troubleshooting or testing how a control system interacts with Just Add Power's justOS RESTful API.
Postman can be downloaded from the main Postman website at www.getpostman.com.
HTTP API available here
justOS B1.2.1 or later required
When first opening Postman, the Launchpad screen will appear. Select Create a request to open a new tab.
Navigate to the Untitled Request tab. There are 3 key parts to this window:
To retrieve information from the Just Add Power device, use the GET function. Example below returns all Settings on a device.
To execute live commands or change boot-up settings on a Just Add Power device, use the POST function and execute the command in the Body in JSON format.
The example below shows how to set a Receiver to show the top-left corner of a 2x2 video wall by sending [2,2,1,1]