powered by Jive Software

405 error received while calling user creation and updating rest api of openfire

Hi All,
Recently we have updated rest api plugin version1.10 and also have updated https binding port from 7443 to 443.
but whenever we try to create and update user using api like …/plugins/restapi/v1/users/,we got 405 method not allowed error response,we have pass auth key correctly also.
url: https://xxxxx.xx/plugins/restapi/v1/users/56814

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

content-type == application/xml

Could anyone please help me in this.
Thank you

The HTTP status code ‘405’ suggests that you are using a HTTP verb that is not supported by the endpoint.

The endpoint that creates a new user (restapi/v1/users/) requires a POST request.
The endpoint that updates a new user (restapi/v1/users/23423) requires a PUT request.

If you have this right, then check if your request actually makes it to Openfire. Maybe there is infrastructure in-between that is answering the request, instead of Openfire? Finally, have a look at the log files of Openfire: they can contain clues to the cause of the error.