Skip to content

VertX Gateway Issue - Does not throw error on passing invalid Method Type for Request #1329

Answered by msavy
shekarnode asked this question in Q&A
Discussion options

You must be logged in to vote

Can you please paste exceptions rather than a screenshot, otherwise I can't easily read or analyse it 👍. ​

IIRC, the exception you are showing refers to the fact that sending a body/payload via a GET request is an unusual thing to try to do. As I recall, with our Servlet gateway implementation the underlying HTTP client library (OkHttp) does not allow a GET request with a body. That's all this error refers to.

Vert.x will allow you to do this, because there's nothing explicitly in the HTTP specification that says you aren't allowed to do GET + body.

Not sure if that answers the question?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shekarnode
Comment options

Answer selected by shekarnode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants