The generic HTTP Gateway does not support JSON requests, only basic HTTP GET or POST queries. To send messages to HTTP services that require a JSON request you have to create a customized script for the HTTP Gateway.
I have API SMS with format as below:
POST /CMC_RF/api/sms/Send HTTP/1.1
Accept-Encoding: gzip, deflate
"Message": "Test sms",
Please advice how to configure http gateway?
Thank you for the assistance. I managed to figure out how to make it work.
The generic HTTP Gateway only supports basic HTTP queries and authentication with a username and password. For other types of authentication a customized script is required.
The HTTP Gateway has a number of built-in scripts that you can use as a base for a customized script but writing or modifying a script for the HTTP Gateway is not an easy task and it is only feasible when you are an experienced C# programmer.
i would like to setup an HTTP Gateway. I have the API and it is as follows.
I am using an API key instead of a user name and password. how can I configure that in Diafaan?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 539
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1067