TIL: HTTP methods are case-sensitive

When making different API calls, for example, using fetch() api, request methods are case-sensitive (all UPPER-CASE) according to RFCs 7230 and 7231

The method token is case-sensitive because it might be used as a gateway to object-based systems with…


This content originally appeared on DEV Community and was authored by Daniel The Developer

When making different API calls, for example, using fetch() api, request methods are case-sensitive (all UPPER-CASE) according to RFCs 7230 and 7231

The method token is case-sensitive because it might be used as a gateway to object-based systems with case-sensitive method names.

fetch(<url>, { method: [GET, PATCH, PUT, DELETE, etc.], ...}


This content originally appeared on DEV Community and was authored by Daniel The Developer


Print Share Comment Cite Upload Translate Updates
APA

Daniel The Developer | Sciencx (2024-09-19T01:04:56+00:00) TIL: HTTP methods are case-sensitive. Retrieved from https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/

MLA
" » TIL: HTTP methods are case-sensitive." Daniel The Developer | Sciencx - Thursday September 19, 2024, https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/
HARVARD
Daniel The Developer | Sciencx Thursday September 19, 2024 » TIL: HTTP methods are case-sensitive., viewed ,<https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/>
VANCOUVER
Daniel The Developer | Sciencx - » TIL: HTTP methods are case-sensitive. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/
CHICAGO
" » TIL: HTTP methods are case-sensitive." Daniel The Developer | Sciencx - Accessed . https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/
IEEE
" » TIL: HTTP methods are case-sensitive." Daniel The Developer | Sciencx [Online]. Available: https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/. [Accessed: ]
rf:citation
» TIL: HTTP methods are case-sensitive | Daniel The Developer | Sciencx | https://www.scien.cx/2024/09/19/til-http-methods-are-case-sensitive/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.