HTTP integration to dynamic endpoint URL

Hello,

I am trying to let the http integration work to a custom endpoint. The TTN http integration needs to call an url in a specific format like this:

http://myserveradress:port/?id=value1&lat=value2&Ion=value3

The url needs to be called when a lora message is sent to TTN and value1, value2 and value3 would come from the decoded message. If I read: https://www.thethingsnetwork.org/docs/applications/http/ correctly this should be possible but unfortunately the documentation on that page is a bit limited with no real examples to follow.

It would be great if someone could point me in the right direction on how to get the values from the TTN backend to this url format.

I do not think the documentation is telling that you can do it the way you want. HTTP integration sends a JSON message to the endpoint, not data on an URL.
If your really need to send data on the URL, you could write a forwarder to be placed on some server that decodes JSON and sends the needed fields to your endpoint via URL.

1 Like

@UdLoRa is right, this is not possible. But here is a nice read about cheap AWS Lambda usage to convert the HTTP request: https://www.thethingsnetwork.org/labs/story/serverless-ttn-post-adapter-1

3 posts were split to a new topic: Use the HTTP Integration with openSenseMap