PUT giving OK 200 response, but new data not showing

I have a table in a MySQL db, in which I can create new data. When I try to use PUT to replace the data I receive a 200/OK response, but the new data does not show in the table. I have all the permissions set as I think they should be, but if the weren’t then I would get a 4xx response anyway. Any ideas please? Thanks.

Solved. PUT and PATCH should be sent without a wrapper.