Now I have trouble scheduling the downlink. I see nothing in my ttn-console. I replaced the “my-app-id” in the url with my Application ID, the “my-process-id” with “request_bin_test” (the id I gave the http integration) and “secret” at the end of the url with my Access Key.
I created a URL for the http integration with requestbin.net. Receiving uplinks works just fine.
I never used curl or http protocoll before so I don’t know if I missunderstood the documentation. Are there problems with _ ? or = in the url? I use curl via the Windows terminal and get no error or anything when I execute the command.
Port 0 is reserved for MAC commands without an application payload, so you should also include "port": 1 or another value in the JSON data. Not doing so, it seems TTN will (currently) use the same port that was used for the uplink. But that’s undocumented behaviour, so surely it’s better to be explicit instead.
Note that the full downlink URL that you need is also in each uplink message that is posted by the HTTP Integration. So, you should see that on RequestBin.
(Aside, I know it’s just a test, but: don’t send text. Not even for a test.)
Thanks for the answer!
I used curl with -i and -v and used the url that came with my uplink. It still doesn’t work and I get a http 400 Bad Request error. I also tried using -H "Content-Type: application/json" because to my understanding the data is encoded in json?
My output log in terminal is as follows: