Jump to content

API:Validate Login not return sucess


hospedabits

Recommended Posts

i'm doing an integration using the API

 

when I try to enter invalid data, I get the error message:

HTTP/1.1 200 OK Date: Fri, 13 Mar 2015 17:52:15 GMT Server: LiteSpeed Connection: close X-Powered-By: PHP/5.4.38 Content-Type: text/html; charset=utf-8 Set-Cookie: WHMCSn6wUMBWkbkcX=ba0959e0c22028623a3f6f0dc976877e; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Length: 47 result=error;message=Email or Password Invalid;

 

but when I try to enter the correct data, do not get the success message as shown in the manual http://docs.whmcs.com/API:Validate_Login

 

I just get a 302 redirect

HTTP/1.1 302 Found Date: Fri, 13 Mar 2015 17:52:00 GMT Server: LiteSpeed Connection: close Cache-Control: no-cache, no-store, must-revalidate, max-age=0 X-Powered-By: PHP/5.4.38 Content-Type: text/html; charset=utf-8 Set-Cookie: WHMCSn6wUMBWkbkcX=c0c4f978a2b4a85efe7dfc15d032bf29; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Location: http://www.hospedabits.com.br/painel/clientareaprofileaddone.php Content-Length: 0

 

what's happening?

Edited by Infopro
Wrapped Output in Code Tags
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated