<div><div dir="auto">Thanks for your reply, Marc!</div><div dir="auto"><br></div><div dir="auto">I'm using Servlet Apiman Gateway.</div><div dir="auto"><br></div><div dir="auto">Best Regards,</div><div dir="auto"><br></div><div dir="auto">Celso Agra </div><br><div class="gmail_quote"><div>Em qua, 18 de out de 2017 às 03:47, Marc Savy <<a href="mailto:marc.savy@redhat.com">marc.savy@redhat.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi Celso,<div><br></div><div>Are you using Vert.x or Servlet Apiman Gateway? </div><div><br></div><div>Regards<br>Marc</div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On 17 October 2017 at 16:51, Celso Agra <span><<a href="mailto:celso.agra@gmail.com" target="_blank">celso.agra@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi all,</div><div><br></div><div>I got an "Internal Server Error" when I send a DELETE request method and there is no Content-Type in header. I'd like to know if this is an expected behavior, or something else should be configured? I'm using Apiman 1.3.0.Final with CORS plugin.</div><div><br></div><div>PS.: This behavior just occurs when I send a DELETE method request through Apiman without "Content-Type" in header.</div><div><br></div><div>Here is some examples:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><i>Example 01 $ curl -X "DELETE" <a href="https://apiman.local/apiman-gateway/test-app/application/1.0/delete/99?apikey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" target="_blank">https://apiman.local/apiman-gateway/test-app/application/1.0/delete/99?apikey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</a><br></i><i><html><head><title>Error</title></head><body>Internal Server Error</body></html></i></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><i><br></i><i>Example 02 $ curl -H "Content-Type: application/json" -X "DELETE" <a href="https://apiman.local/apiman-gateway/test-app/application/1.0/delete/99?apikey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" target="_blank">https://apiman.local/apiman-gateway/test-app/application/1.0/delete/99?apikey=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</a><br></i><i>[ { "return": "OK" } ]</i></blockquote><div><br></div><div><br></div><div><br></div><div>Best Regards,</div><span class="m_701549340453520159HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_701549340453520159m_4825544620842556193gmail_signature"><div><div><div><div><span style="font-family:"Times New Roman";font-size:16px">---<br><b>Celso Agra</b></span></div></div></div></div></div>
</font></span></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
Apiman-user mailing list<br>
<a href="mailto:Apiman-user@lists.jboss.org" target="_blank">Apiman-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/apiman-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/apiman-user</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:'Times New Roman';font-size:16px">---<br><b>Celso Agra</b></span></div></div></div></div></div>