Hello,
I’d like to create an user using RT API (with RT 3.8.7 on Ubuntu 10.04).
I tried in PHP with a request to /user/new using this post data :
id: user/new
Name: test
EmailAddress: test@test.com
RealName: test
Lang: fr-fr
Organization: test
But all I got is a bad quest error :
RT/3.8.7 400 Bad Request
Could not create user.
Is it possible ?
Regards,
Guillaume Hilt
Is it possible that user “test” already exists?
sunnavyOn 12-03-20 13:38, Guillaume Hilt wrote:
Hello,
I’d like to create an user using RT API (with RT 3.8.7 on Ubuntu 10.04).
I tried in PHP with a request to /user/new using this post data :
id: user/new
Name: test
EmailAddress: test@test.com
RealName: test
Lang: fr-fr
Organization: test
But all I got is a bad quest error :
RT/3.8.7 400 Bad Request
Could not create user.
Is it possible ?
Regards,
–
Guillaume Hilt
No, I got no users right now, it’s a fresh install.
I tried again, adding Password and Privileged fields, same error.
Guillaume HiltLe 20/03/2012 14:13, sunnavy a écrit :
Is it possible that user “test” already exists?
sunnavy
On 12-03-20 13:38, Guillaume Hilt wrote:
Hello,
I’d like to create an user using RT API (with RT 3.8.7 on Ubuntu 10.04).
I tried in PHP with a request to /user/new using this post data :
id: user/new
Name: test
EmailAddress: test@test.com
RealName: test
Lang: fr-fr
Organization: test
But all I got is a bad quest error :
RT/3.8.7 400 Bad Request
Could not create user.
Is it possible ?
Regards,
–
Guillaume Hilt
Ok, I just noticed that, despite the error, the users were created in
the database.
Strange, but as long as it works.
Guillaume HiltLe 20/03/2012 14:16, Guillaume Hilt a écrit :
No, I got no users right now, it’s a fresh install.
I tried again, adding Password and Privileged fields, same error.
Guillaume Hilt
Le 20/03/2012 14:13, sunnavy a écrit :
Is it possible that user “test” already exists?
sunnavy
On 12-03-20 13:38, Guillaume Hilt wrote:
Hello,
I’d like to create an user using RT API (with RT 3.8.7 on Ubuntu
10.04).
I tried in PHP with a request to /user/new using this post data :
id: user/new
Name: test
EmailAddress: test@test.com
RealName: test
Lang: fr-fr
Organization: test
But all I got is a bad quest error :
RT/3.8.7 400 Bad Request
Could not create user.
Is it possible ?
Regards,
–
Guillaume Hilt