PDA

View Full Version : can you give the sintax to use the xml hacks


fcaero
Sep-17-2004, 11:40 AM
when you say on the hacks page:

"NOTE: This is a plaintext password, and thus, should only be sent via SSL.
Most of the other methods require a SessionID, which is returned by this method. Store temporarily and re-use it for all other methods which require SessionID.

Arguments:

EmailAddress
Password
Result:

struct

String "SessionID"
String "UserID"
String "PasswordHash"

Fault Codes:

1 - "invalid login"
5 - "system error" "
This mean i can login calling what ??
like this " https://www.smugmug.com?mailadress=emai&passwors=passord ???

thanks

onethumb
Sep-17-2004, 09:45 PM
when you say on the hacks page:

"NOTE: This is a plaintext password, and thus, should only be sent via SSL.
Most of the other methods require a SessionID, which is returned by this method. Store temporarily and re-use it for all other methods which require SessionID.

Arguments:

EmailAddress
Password
Result:

struct

String "SessionID"
String "UserID"
String "PasswordHash"

Fault Codes:

1 - "invalid login"
5 - "system error" "
This mean i can login calling what ??
like this " https://www.smugmug.com?mailadress=emai&passwors=passord ???

thanks


Nope, it means you need to do a HTTP POST to our server (and I just realized I left something very important off of the documentation. I'll get that remedied shortly.).

It needs to be in the XML-RPC (http://www.xmlrpc.com/) encoded format. You can see examples in the XML-RPC spec (http://www.xmlrpc.com/spec) ...

The part I left out of the docs (And I'll put in sometime tonight) is the URL you need to POST to: http://upload.smugmug.com/xmlrpc/

Hope that helps!

Don