Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restful Api secure/sendbatch not working #1188

Open
grimnir52 opened this issue Mar 30, 2024 · 1 comment
Open

Restful Api secure/sendbatch not working #1188

grimnir52 opened this issue Mar 30, 2024 · 1 comment

Comments

@grimnir52
Copy link

I sent a request to secure/sendbatch and got back a response with 200 ok and the batch id and message count, but messages aren't getting sent even though the secure/send works fine so does the http Api.
Here is the request:

{
"batch_config": {
"callback_url": "http://host.docker.internal:5053/api/sms/batchstatus",
"errback_url": "http://host.docker.internal:5053/api/sms/batchstatus"
},
"globals" : {
"dlr-level": 3,
"dlr": "yes",
"dlr-url": "http://host.docker.internal:5053/api/sms/deliver",
"dlr-method": "POST"
}
"messages": [
{
"to": [
"55555551",
"55555552",
"55555553"
],
"content": "Hello world !"
}
]
}

And I would also like to know if there is a big performance increase if I switch to the SMPP Api from the rest Api?

@grimnir52
Copy link
Author

I used the docker-compose.restapi.yml to spin up the containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant