Integrate with "PAC Control REST API" from opto22.com in no time with Mockoon's ready to use mock sample
Speed up your application development by using "PAC Control REST API" ready-to-use mock sample. Mocking this API will help you accelerate your development lifecycles and allow you to stop relying on an external API to get the job done. No more API keys to provision, accesses to configure or unplanned downtime, just work.
Enhance your development infrastructure by mocking third party APIs during integrating testing.
This API provides secure access to a SNAP-PAC-R or -S series controller's variable and I/O tags. Confidentiality for API transactions is provided by HTTPS. Authentication uses HTTP Basic Authentication with an API key. An API key ID is submitted in the Basic Authentication userid field and API key value in the password field.
For more information visit: developer.opto22.com
Read an array of all the integer32 variables defined in the PAC's strategy.
For example, on your SNAP-PAC-R or -S series controller at IP address 184.108.40.206, you would use the URL:
Note on packet sizes:
When doing POSTs or GETs, the JSON payload in the body should not exceed 3k (3072 bytes).