Support forum

Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

HTTP Gateway Configuration
sp_NewPost Add Reply sp_NewTopic Add Topic
August 19, 2019
9:20 am
Henk Helmantel
Forum Posts: 1312
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Quan,

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.

Regards, Henk

August 16, 2019
6:55 pm

I have API SMS with format as below:
POST /CMC_RF/api/sms/Send HTTP/1.1
Content-Type: application/json
User-Agent: PostmanRuntime/7.15.2
Accept: */*
Cache-Control: no-cache
Postman-Token: 6f5843d8-a24e-42d3-9f83-beea1d46a8c2,5b2f0697-0fe2-4eae-a38d-b62e73a2974d
Accept-Encoding: gzip, deflate
Content-Length: 153
Connection: keep-alive
cache-control: no-cache

"Brandname": "Vinaref",
"Message": "Test sms",
"Phonenumber": "0914448148",
"user": "vinaref",
"pass": "123456789"

Please advice how to configure http gateway?

July 24, 2019
11:28 pm

Thank you for the assistance. I managed to figure out how to make it work.

July 18, 2019
4:38 pm
Henk Helmantel
Forum Posts: 1312
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Itai,

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.

Regards, Henk

July 17, 2019
11:38 pm

Good Day,

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?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 616

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1024

Posts: 3513

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1312