Skip to content

Commit 3bc9fb1

Browse files
committed
PUT body parameters
thanks mmontone/easy-routes#18
1 parent 4d1f542 commit 3bc9fb1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

content/building-blocks/PUT.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
+++
2+
title = "PUT and request parameters"
3+
weight = 145
4+
+++
5+
6+
To access the body parameters of a PUT request, one must add `:PUT` to
7+
`hunchentoot:*methods-for-post-parameters*`, which defaults to only
8+
`(:POST)`:
9+
10+
```lisp
11+
(push :put hunchentoot:*methods-for-post-parameters*)
12+
```
13+
14+
This parameter:
15+
16+
> is a list of the request method types (as keywords) for which Hunchentoot will try to compute POST-PARAMETERS.
17+
18+
No such setting is required with Lack and Ningle.

0 commit comments

Comments
 (0)