Create user account through http Search Search

Now SMS/MMS Gateway » Now SMS/MMS Gateway - MMS & Advanced Issues (Product Support Only) » Archive through February 20, 2004 » Create user account through http « Previous Next »

Author Message
Nathan Ducey
New member
Username: Ducey

Post Number: 1
Registered: 02-2004
Posted on Friday, February 06, 2004 - 02:22 am:   

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
Posted on Thursday, February 12, 2004 - 05:02 am:   

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://www.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>

Search Search Tree View Tree View   Home Home
Login Login / Register Topics Topics Search Last 1|3|7 Days   Previous Page Previous Next Next Page

© Copyright 2002-2008 by NowMobile.com Limited
Airport House, Purley Way, Croydon, London, CR0 0XZ, UK
UK Tel: +44-20-8286-8080 US Tel: +1.410.833.8711
email : nowsms@nowsms.com