Should a REST API be case sensitive or non case sensitive?

后端 未结 3 1059
南笙
南笙 2020-12-14 06:35

At work we got a problem with case sensitive REST api which ignores wrongly spelled parameters without returning any error. In my opinion this is bad. Then it comes the gene

3条回答
  •  北海茫月
    2020-12-14 06:52

    HTTP URLs are case-insensitive for the scheme and host portion and case-sensitive for the path, query and fragment.

    http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-25#page-19

提交回复
热议问题