Create user account through http | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through February 20, 2004 ⬆ |
◄ ► |
Author | Message | |||
Nathan Ducey New member Username: Ducey Post Number: 1 Registered: 02-2004 |
I have looked at the documentation on this page (http://www.nowsms.com/support/bulletins/tb-nowsms-005.htm) but I can't work out how to use the code provided, so any help to explain how this can be done would be greatly appreciated. Thanks, Nathan | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 1855 Registered: 10-2002 |
Hi Nathan, It looks like there is a formatting error in that link. The data should be: GET /provision?AdminAction=Action&PhoneNumber=number&Name=AliasName&Password=passwor d&FullName=Full+Name HTTP/1.0 Authorization: username:password (BASE64 encoded) <blank line> That is the data that would actually be sent over HTTP connection (for example, if you connected via Telnet). For example: GET /provision?AdminAction=Add&PhoneNumber=%2B447778001210&Name=TestAccount&Password =TestPassword&FullName=Test+Name HTTP/1.0 Authorization: Basic Ym9zY2g6Ym9zY2g= <blank line> If you're not familiar with how to encode Base64, I explain how to easily cheat and find out how to encode your Authorization: header in the following link: http://support.nowsms.com/discus/messages/1/252.html Does that help? Note: There should be no line breaks in the above examples until after the "HTTP/1.0". In other words: GET /provision?... HTTP/1.0 Authorization: username:password (BASE64 encoded) <blank line> |