Sending SMS
HSNM Hardware and VM configurations. Sms, Email, Backup, Database

Rate this topic
   Post Reply
24 posts
infosey
Posts: 157
Joined: 30 May 2018, 10:45

Re: Sending SMS

by infosey » 10 Mar 2020, 11:17

Hay you tired to make a test outside HSNM?

I think the problem has origin in the form of the post URL query.

In fact :
{"estado":"error","msg":"Email o contrase\u00f1a incorrectos"}

we think that something is missing or distorted.
I was testing using curl and it works. I captured the http packet sent to the SMS gateway using curl:
Captura_curl.JPG
and also using HSNM:
Captura_HSNM.JPG
I paint in yellow in the first one the authentication that is not sent in the second one using HSNM. The credentials are configured:
Captura_configuration.JPG
You do not have the required permissions to view the files attached to this post.
Last edited by infosey on 10 Mar 2020, 11:28, edited 1 time in total.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 10 Mar 2020, 11:27

Using the curl method, how do you specify a username/password?

infosey
Posts: 157
Joined: 30 May 2018, 10:45

Re: Sending SMS

by infosey » 10 Mar 2020, 11:32

Using the curl method, how do you specify a username/password?
Using -u username:password
curl.JPG

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: Sending SMS

by HSNMSupport » 10 Mar 2020, 11:57

Using the curl method, how do you specify a username/password?
Using -u username:password
curl.JPG
I've spoken with a developer.
Basic HTTP authentication is not currently supported (as you done with curl -u).
You've to ask your provider if he can receive requests without this kind of authentication.

We are scheduling this kind of authentication in a future version of HSNN.

Rate this topic

Who is online

Users browsing this forum: No registered users and 21 guests

It is currently 24 Nov 2024, 01:15