You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > Software Applications > DW Spectrum IPVMS > DW Cloud > How to make API requests to the cloud-connected system through the internet?
How to make API requests to the cloud-connected system through the internet?
print icon

 

  1. Test the request locally:  

 

    1. Check the documentation, find the request you need, make a request and test it using the local system IP address. For example: http://127.0.0.1:7001/api/createEvent?source=Cloud&caption=Test

 

  1. Find cloud system Id

 

 

  1. Format Cloud URL

 

    1. In your original request replace local IP and port with https://{systemId}.relay.vmsproxy.com

For example, http://127.0.0.1:7001/api/createEvent?source=Cloud&caption=Test turns into https://397f56fb-4c5c-485e-a923-9bea345fa7ba.relay.vmsproxy.com

 

... http://127.0.0.1:7001/api/createEvent?source=Cloud&caption=Test turns into https://397f56fb-4c5c-485e-a923-9bea345fa7ba.relay.vmsproxy.com/api/createEvent?source=Cloud&caption=Test

 

 

Known issues and limitations:

1. This functionality is in beta mode and we might change something in the future, so please keep an eye for updates.

2. This way supports only https protocol

3. This way doesn’t support browser-based requests due to CORS protection

scroll to top icon