How use HTTP integration?

how to configure it correctly so that when a new message is received, it is sent to port 8081??

hi,

If you want to recive it on a webapplication on the same server on Port 8081 you can set

http://localhost:8081

If it is a different server, you need to replace localhost with hostname or IPv4 Address. you can use your hostname or ip anyway. If you have certificates on your webserver on Port 8081, you need to set https instead of http

If you set it at the filed “Endpoints” - you will recive all messages. make sure, you have a application running, where the events can be handled.

if you only want specific message, just enter the server in the fileds you want it.

here you can find more infomations about Integration:

https://www.chirpstack.io/application-server/integrations/events/

and specific about http integration:

https://www.chirpstack.io/application-server/integrations/http/

regards

With proxy integration, setup is simple. You only need to set the HTTP method and the HTTP endpoint URI, according to the backend requirements, if you are not concerned with content encoding or caching.

I’m trying to find the easiest way of removing the “?event=up” suffix that is hard-coded into the HTTP integration. So far I’m thinking the only way is to pipe the output into Sed to strip that off, then curl to send to my endpoint? (It’s an external service I can’t control their handling of URLs and the suffix freaked their server out) At the moment I’m wanting to send decoded data. I’m just having to come back into this arena so am learning as I go. Any pointers would be valuable!

Solved using Python with API libraries as mentioned in the docs, used the ‘requests’ library to forward packets on. Nice and easy.

@grintech How did you solve your issue?