Home/Support/Support Forum/Http Monitor Creation is forbidden
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Http Monitor Creation is forbidden

0 votes
I am attempting to create a new Http Monitor using Postman.

I can view our existing monitor via a GET request to https://devicecloud.digi.com/ws/Monitor.

To create the monitor, as per the documentation, I am sending a POST request to the same url using the same auth header, and I am attaching the monitor details to the request body as an XML doc (and including a Content-Type header specifying that). But I get back a 403 Forbidden error with no further details.

I have attempted to create the monitor using an Admin account and using the Owner account to no avail.

The xml being attached looks like:

<Monitor>
<monTopic>DataPoint</monTopic>
<monTransportType>http</monTransportType>
<monTransportUrl>http://myUrl.com/api/digi</monTransportUrl>
<monFormatType>json</monFormatType>
<monBatchSize>100</monBatchSize>
<monCompression>none</monCompression>
<monStatus>ACTIVE</monStatus>
<monBatchDuration>180</monBatchDuration>
<monDescription>Push Monitor for My App</monDescription>
<monAutoReplayOnConnect>true</monAutoReplayOnConnect>
<monTransportMethod>POST</monTransportMethod>
<monResponseTimeout>30000</monResponseTimeout>
</Monitor>
asked Aug 7 in Data Services by jdanley New to the Community (0 points)

Please log in or register to answer this question.

Contact a Digi expert and get started today! Contact Us
...