You can find an example of a JSON HTTP script in the Scripting Pack on the download page. The script is named SimpleJsonHttpGateway.cs and works as a minimal implementation with the Platform API of the Clickatell SMS service.
This script can be used as an example for other JSON HTTP APIs but since there is no standard implementation for JSON based SMS APIs you'll have to modify it for other services.
Can you share some details on how c# script development and what is required. We'll find a developer who can develop this script for us.
It is still the same. Sending messages to an SMS service that uses a JSON API requires a C# script. It is not possible with the generic HTTP option in the HTTP Gateway.
Is there any update to this thread, whether if we can use json request with api key.
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: 628
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1341