Has anybody tried to set up the Simple Gatway with MailUp??
The example connection looks like this
POST https://sendsms.mailup.com/api/v2.0/sms/{account_ID}/{List_ID} HTTP/1.1
User-Agent: Fiddler
Host: sendsms.mailup.com
Content-Type: application/json;odata=verbose;charset=utf-8
Content-Length: 428
{
"Content":"Hi [Name], welcome to [City]",
"ListGuid":"xxxxxxxx-aaa-bbbb-cccc-e3a98b626156",
"ListSecret":"yyyyyyyy-ddd-eeee-ffff-3e1cb0e6e64c",
"Recipient":"+393350000001",
"CampaignCode":"Welcome messages",
"DynamicFields":[{"N":"Name","V":"John"},{"N":"City","V":"Cremona"}],
"isUnicode":0
}
Will this work??
Comments
Comment #2
alansaviolobo commentedare {account_ID} & {List_ID} static values ?
Also, the service appears to be doing token replacement for you using the DynamicFields.
So, if the two IDs are static & you are willing to do the token replacement on your own (drupal tokens) and send a simple string to the gateway, this would probably work for you.
Comment #3
dariuszol commentedYes, {account_ID} & {List_ID} are static.
I am getting this error: "The gateway said An error occurred during the HTTP request: Bad Request"
I an putting:
Base URL for sending messages: https://sendsms.mailup.com/api/v2.0/sms/{account_ID}/{List_ID}
for User/ pass I tried to use both: username+password or ListGuid+ListSecret
but nothing works...
Comment #4
alansaviolobo commentedassuming you have replaced account_ID and List_id with the correct values.
could you give me a sccreenshot of the the values entered in the other fields please ?
Comment #5
alansaviolobo commented