"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Request method 'PUT' not supported

Hi

Trying to update an existing target using PUT in place of POST and get:

INFO: <html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 405 - Request method 'PUT' not supported</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Request method 'PUT' not supported</u></p><p><b>description</b> <u>The specified HTTP method is not allowed for the requested resource (Request method 'PUT' not supported).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>

Can you look into enabling that or let me know what I am doing wrong? My assumption is that everything about the request is the same as a POST with the exception of the method itself.

Thanks, Jesper

It's working for me - I've successfully update the application_metadata for an existing target using PUT /targets/{target_id} and confirmed delivery of that new metadata to the client.

I'm not with Qualcomm - I'm on standard business-class cable (RoadRunner).

You can't just simply change the POST to a PUT, since the PUT requires the target_id in the request path.  Is it possible you're putting it in the JSON instead?