External aplication

External aplication SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » External aplication « Previous || Next »
Author Message
Pedro Simao
New member
Username: Pedro

Post Number: 1
Registered: 08-2005
Posted on Wednesday, August 03, 2005 - 08:40 pm:   

Ok, here's the deal...

I'm making and external inferface to send sms. But i need some help on the requests maide to the sms gateway.

I need to make the users login to my interface using the gateway's users.

Any help?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4920
Registered: 10-2002
Posted on Thursday, September 15, 2005 - 08:53 pm:   

That would be tricky.

My suggestion would be that when your application receives the username and password from the client, you try to issue an HTTP request to NowSMS like this:

http://ip:port/?user=username&password=password

If you receive an "HTTP 200 OK" response, then the username is ok.

If you receive an "HTTP 401" response, then it is not.

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics