Join Slack
Powered by
hey team! is there a way of having an optional req...
# http4k
j
Joseph Pickering
07/13/2021, 12:00 PM
hey team! is there a way of having an optional request body parameter?
d
dave
07/13/2021, 12:16 PM
Not at the moment. I don't actually ever think I've come across such a use-case TBH.
đź‘Ť 1
j
Joseph Pickering
07/13/2021, 1:15 PM
thanks for letting me know
r
Razvan
07/14/2021, 2:29 PM
Lucky you… we have (internal) api we call that decide to answer sometimes
200
{}
instead of 204… but luckily in these cases we don’t care about the body…
2
Views
Open in Slack
Previous
Next