PDA

View Full Version : [API] Problems with CMD_USER_PASSWD



ensimek
02-28-2010, 11:22 AM
Hi Guys
I know that there's no function in API to change users password. But there's an option in both admin and reseller acounts. So i tried to connect and push new username,passwd,passw2 values to /CMD_USER_PASSWD but everytime I get 'Unable to change password'
Then I found CMD_API_USER_PASSWD but even if I post correct username, i get #34 is not valid username:/

Response from API is:
Array ( [error] => 1 [text] => Unable to change password [details] => [#34] => [#34_is_an_invalid_username] => )

but I have no clue whats the #34 ?

ensimek
03-21-2010, 09:10 AM
Anyone have idea what #34 might be?

aego
04-14-2010, 10:19 PM
Simply use "post" method instead of "get"