Collection endpoint 'method' field should only accept uppercase #8312
tyteen4a03
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
You are correct, according to RFC7230 - RFC7321 method names must be uppercase. However, it's not actually clear to me if Payload automatically converts method names to uppercase behind the scenes - doesn't seem like it though. (I think we'd find that here but I may be mistaken.) I agree, V3 should conform to existing conventions with custom endpoint methods. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RFC7231 specifies that HTTP methods are case-sensitive, and only defines methods in uppercase, but Payload's types only accept lowercase method names.
This should be changed to only allowing uppercase for v3 release.
Beta Was this translation helpful? Give feedback.
All reactions