I'm trying to call the password change rest service and I'm getting an error that reads:
>The server refused this request because the request entity is in a format not supported by the requested resource for the

requested method ().

This is 4.0.2 on a fairly recent patch level (I think it is one behind)

Based upon the answers here: https://forums.netiq.com/archive/index.php/t-16115.html

I've verified the following:
method: POST
authHeader: a base 64 string, I've double checked this string and I've tried both uid and cn in the format cnassword
So for example, adminassword returns YWRtaW46cGFzc3dvcmQ=
I'm not putting any quotes on that.
the URL I'm using is:
This is being called from the UA server.
the content is set to: application/json (no quotes)
and: {"oldPassword":"test1","newPassword":"test2","rety peNewPassword":"test2"}

The user that I'm using in the auth header is the UA Admin.
The UA user container is scoped to o=myorg so it includes the entire tree

I'm a bit at a loss as to what I'm doing wrong. This seems to match up to the docs but clearly I've missed something.

Will Schneider
Knowledge Partner http://forums.netiq.com

If you find this post helpful, please click on the star below.