Web Connection
Cannot "PUT"
Gravatar is a globally recognized avatar based on your email address. Cannot "PUT"
  Eric Selje
  All
  Jun 27, 2020 @ 04:24pm

I'm having a hard time getting my REST Process to recognize that it's a PUT verb. I've tried these two methods. It seems to work fine in the TODO example and I thought I copied that perfectly, yet mine doesn't work. Any ideas?

I've tried... ajaxJson("Instructor.acevue", oInstr, ....

and ajaxCallMethod("Instructor.acevue", "PUT", oInstr, ...

Gravatar is a globally recognized avatar based on your email address. re: Cannot "PUT"
  Rick Strahl
  Eric Selje
  Jun 27, 2020 @ 04:43pm

Make sure the server supports put. If you're using IIS make sure that the verbs for the script map/handler are set to verb=`*

<add name=".wcvue_wconnect-module" 
     path="*.wcvue" 
     verb="*" 
     type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" 
     preCondition="integratedMode" />

Notice the verb="*" which is important. If that's not there only GET and POST are supported.

+++ Rick ---

© 1996-2020