cjdenio / shorty

High-performance link shortener

Home Page:https://clb.li

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`POST` to `api/link` with `"name" = null` causes 422 response

lilyball opened this issue · comments

If I issue a POST to api/link with "name": null I get a 422 Unprocessable Entity response. It would be more convenient if passing null behaved the same as omitting the key entirely. This would make it easier for me to script the API.