Maker API URL to POST possible bag

Not sure how to report bugs so I just write here my finding:

In Maker Api it is possible to set device where to send Post events. If you use http://xxx.xxx.xxx.xxx/apps/api/204/postURL/192.168.100.11:8080?access_token=xxxxx......
then in the Maker api it will appear as:

URL to POST device events to
192.168.100.11:8080

however this didnt woked for me and at the end I found out I had to use format like this:

URL to POST device events to
http://192.168.100.11:8080

So I assume the http:// should be there also when seting it by Send POST URL

Thanks

1 Like

Port 8080 would be necessary if the hub was sending to itself, but if an outside device is doing the sending then leaving off the port (and defaulting to port 80) will work.

1 Like

Yes. This is also required while sending URLs from Rule Machine.

1 Like

Don't forget to URL-Encode the parameter as necessary for this to work.

1 Like

I see, this is what I was missing :). So its all fine. Thanks

1 Like

Thanks everyone for quick answers.

I used the 8080 just because it was in some Python server example and it didnt matter to me. It was only for test. Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.