Update record (PUT) with BaseRow. Error 405

Can anyone help me? ,I’m using BaseRow as a database, it’s returning a 405 error, only in the update option the others (create, get record and delete record) are ok.





image
image

Hi,
As can be seen from the error message, the ‘PUT’ method you are using is not allowed for the server. Error 405 means that your request was received and recognized by the server, but the server has rejected that particular method for the requested resource.
Check that the PUT method is the correct one to use for the API of the platform you are using.

create, get record and delete record are ok.

Those work because they are the allowed methods.

Thanks for the quick response, but looking at BaseRow, all CRUD functions are enabled and the Update row method available.
erro_405_8

Hi,
The problem is not in permissions, but rather in the type of a request you are using (‘PUT’). As can be seen from the attached screenshot, the API requires a ‘PATCH’ request to update a row. Thus using PUT was returning a “Method PUT not allowed”.
At the moment, Composer does not support PATCH requests.

If you want to learn more about PUT and PATCH requests, read here:

Thank you for sharing your knowledge, which was very valuable.

1 Like