External aplication | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 19, 2005 ⬆ |
◄ ► |
Author | Message | |||
Pedro Simao New member Username: Pedro Post Number: 1 Registered: 08-2005 |
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 |
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 |