PUT method is not working

NS Kentico asked on December 23, 2020 20:47

I am able to use GET requests for existing contact and POST requests for creating new a contact but not able to get PUT requests to work for updating existing contact.

Recent Answers

Daniel Merta answered on January 4, 2021 12:37

Hi, can you provide more details as to how the PUT request looks like, what error message you're getting and so on?

I also recommend to check your Event log for any error message logged after an unsuccessful attempt.

Make sure that your REST service is configured accordingly and that the runAllManagedModulesForAllRequests attribute is set to true.

0 votesVote for this answer Mark as a Correct answer

NS Kentico answered on January 6, 2021 05:23 (last edited on January 6, 2021 05:23)

I have double-checked all the REST service settings are correctly configured. The URL is working with GET and but the same URL is not working with PUT and getting 'Object moved' error. There is no error in Kentico logs.

GET screenshot: https://www.screencast.com/t/wY0EOc5Y3

PUT screenshot: https://www.screencast.com/t/ARtKfKCpRB9e

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.