DZircher posted Nov 2, 2020:
I’ve noticed that the json data produced by the system includes a reply field which is of the format:
http://api.notefile.net/req?product="your_product"&device="dev:xxxxxxxxxxxxxxx"
.
Posting to this url with a valid json body always seems to return an http 200 with a response of {"err":"cannot interpret JSON request"}
.
Changing this request to https succeeds with an http 200 and a response of {}
Is it correct to be using this url segment to construct the reply or should one omit the "req"
portion of the url as the Notehub.io API is documented. Both URLs when used over https seem to have the same behavior.