Cmd_account_user Api

Hello,

The comments can be set by using:

action=/CMD_COMMENTS
method=POST

user=username
comments=the comments

You can do this from the API (as long as you use POST)
It's not part of the user creation and needs to be done with a seperate call.

John
 
OK I tried that with the PHP communication class by l0rdphi1.
That class communicates via GET and CMD_COMMENTS requires POST.

So I guess I’m out of luck.

Brian.
 
Hello,

POST isn't a whole lot different from GET so you could modify it if you wanted.. here's an example:

GET
Code:
GET /CMD_SOMETHING?name=bob HTTP/1.1
Host: somehost.com

POST
Code:
POST /CMD_SOMETHING HTTP/1.1
Host: somehost.com

name=bob

POST with GET
Code:
POST /CMD_SOMETHING?name=bob HTTP/1.1
Host: somehost.com

age=105

So as you can see, by just moving where the values are placed, you can have a POST request instead of a GET. :)

John
 
For the upcoming email-api functions I'm going to make a deal of changes to the class. Should be a lot better :D
 
Back
Top