Correction fake-sms iso powow
This commit is contained in:
@ -2,44 +2,39 @@
|
||||
|
||||
# @name createSms
|
||||
POST http://localhost:3000/api/v1/mock/powow
|
||||
Content-Type: application/json
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
APIKey=powow
|
||||
&Command=TransactionalSms.Create
|
||||
|
||||
{
|
||||
"APIKey": "powow",
|
||||
"Command": "TransactionalSms.Create"
|
||||
}
|
||||
|
||||
### Update transactional SMS template
|
||||
|
||||
@SmsID = {{createSms.response.body.$.SmsID}}
|
||||
|
||||
POST http://localhost:3000/api/v1/mock/powow
|
||||
Content-Type: application/json
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
APIKey=powow
|
||||
&Command=TransactionalSms.Update
|
||||
&SmsID={{SmsID}}
|
||||
&SmsName=Defaut SMS
|
||||
&FromName=FakeSMS
|
||||
&Content=Bonjour%20%25Subscriber%3AFirstname%25%2C%5CnLorem%20ipsum%20dolor%20sit%20amet...
|
||||
&ShortLink=0
|
||||
&Language=fr
|
||||
|
||||
{
|
||||
"APIKey": "powow",
|
||||
"Command": "TransactionalSms.Update",
|
||||
"SmsID": {{SmsID}},
|
||||
"SmsName": "Defaut SMS",
|
||||
"FromName": "FakeSMS",
|
||||
"Content": "Bonjour %Subscriber:Firstname%,\nLorem ipsum dolor sit amet...",
|
||||
"ShortLink": 0,
|
||||
"Language": "fr"
|
||||
}
|
||||
|
||||
### Send transactional SMS
|
||||
|
||||
POST http://localhost:3000/api/v1/mock/powow
|
||||
Content-Type: application/json
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
{
|
||||
"APIKey": "powow",
|
||||
"Command": "TransactionalSms.Send",
|
||||
"ResponseFormat": "JSON",
|
||||
"SmsID": {{SmsID}},
|
||||
"MobilePhoneNumber": "+33699999999",
|
||||
"TimeToSend": "2017-01-01 10:00:00",
|
||||
"CustomData": {
|
||||
"Firstname": "Rm9v"
|
||||
}
|
||||
}
|
||||
APIKey=powow
|
||||
&Command=TransactionalSms.Send
|
||||
&ResponseFormat=JSON
|
||||
&SmsID={{SmsID}}
|
||||
&MobilePhoneNumber=+33699999999
|
||||
&TimeToSend=2017-01-01 10:00:00
|
||||
&CustomData=a%3A1%3A%7Bs%3A9%3A%22Firstname%22%3Bs%3A8%3A%22am9obg%3D%3D%22%3B%7D
|
||||
# custom data [Firstname => "john"] = a:1:{s:9:"Firstname";s:8:"am9obg==";}
|
||||
|
Reference in New Issue
Block a user