VertX Gateway Issue - Does not throw error on passing invalid Method Type for Request #1329
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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? |
Beta Was this translation helpful? Give feedback.
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?