> I've been trying to make it work, but I couldn't.
>
> The moment the app redirects to the PUT route, the params are passed in the
> URL (just like a GET method), and the server says that the route is
> undefined.
The route is undefined because you are redirecting to GET. You can
confirm that in the browser console.
> (define-route test/put ("put" :method :put)
> (list :body (<:div (hunchentoot:post-parameter "paramtest"))))
> When the app redirects to this route, the URL shows
> localhost/put?paramtest=123
Ary you trying to redirect from one PUT route to another? If not, that
is not possible with HTTP. In general, you should only redirect to GET.
How do you perform the original PUT request? E.g. with jQuery that
would be jQuery.ajax('/put', {type: 'PUT', data: {paramtest: 123}})
If you do not perform PUT requests at all, please describe what you
are trying to accomplish.