You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when sending a json with either valid_for or max_uses set to null, the return code is 400 Bad Request and a serde error message is returned in the response. The 400 may be wanted although null fields could just be treated as not existing, but the error message should not be a serde parsing error
reproduce with: http POST https://s.flamion.dev/custom link=do_not_care max_uses=null valid_for=null
or curl --request POST --header "Content-Type: application/json" --data '{"link":"do_not_care","valid_for":null,"max_uses":null}' https://s.flamion.dev/custom
The text was updated successfully, but these errors were encountered:
when sending a json with either
valid_for
ormax_uses
set tonull
, the return code is400 Bad Request
and a serde error message is returned in the response. The 400 may be wanted althoughnull
fields could just be treated as not existing, but the error message should not be a serde parsing errorreproduce with:
http POST https://s.flamion.dev/custom link=do_not_care max_uses=null valid_for=null
or
curl --request POST --header "Content-Type: application/json" --data '{"link":"do_not_care","valid_for":null,"max_uses":null}' https://s.flamion.dev/custom
The text was updated successfully, but these errors were encountered: