How to use HttpPost through Java Application | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through January 17, 2005 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hi guys, Im trying to send Text/MMS Message through Java Application by HTTP Post but it always gives me HTTP/1.0 401 Authorization Required. I included the user and password while posting.whats the solution here?it works if i use GET method in application. thanks, Mark | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3531 Registered: 10-2002 |
Hi Mark, Are you using an "Authorization:" header, or are you using the "user" and "password" variables? I suspect the latter ... We should pick those variables up whether they are included POST style, or GET style. If all else fails, change your POST URL to include those variables in the URL request. Even though you're doing a POST, we'll still look for them in the URL as well. | |||
Anonymous |
HI Bruce, thanks for replying. i got that sorted out.I wasnt using user and pwd variables. cheers, Mark | |||
Anonymous |
Hi guys, I need to send SMS from my pc to mobilephone through Internet without getting any subscriber account bcoz i am working in this project .i need to show a demo.If it is availble in Javait's better for me.thanks in advance. siva | |||
siva New member Username: Siva_kanagaraj Post Number: 2 Registered: 10-2004 |
-------------------------------------------------------------------------------- hi guys, i need to send sms from my pc to mobilephone through Internet.this is my project.It's urgent.If it is in java better for me.Thanks in advance. siva |