can you give the sintax to use the xml hacks

fcaerofcaero Registered Users Posts: 31 Big grins
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

Comments

  • onethumbonethumb Administrators Posts: 1,269 Major grins
    edited September 18, 2004
    fcaero wrote:
    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 encoded format. You can see examples in the XML-RPC 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
Sign In or Register to comment.