Try to use the HTTP Messaging API for Watson IoT. https://docs.internetofthings.ibmcloud.com/apis/swagger/v0002/http-messaging.html
I have one application that should POST Mqtt msg from a device. Have generated API key in Watson iot and put it in the POST header e.g:
username: a-XYXYX-bvbcxgmz6d
password: XYXYX+6QY6OKw*J
Content-Type: application/json
I then send this POST to changed my real orgId in this post: http://orgId.messaging.internetofthings.ibmcloud.com:1883/api/v0002/application/types/ecu/devices/ecu1/events/test
But I keep ending up in server response 403 Not allowed.
I use a HTTP REST Chrome application that I have successfully used before. Have run out of ideas so pleas help!