<div dir="ltr">Are there any errors in the server logs that could help diagnose this issue?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 17, 2017 at 10:51 AM, Celso Agra <span dir="ltr"><<a href="mailto:celso.agra@gmail.com" target="_blank">celso.agra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><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-<wbr>gateway/test-app/application/<wbr>1.0/delete/99?apikey=xxxxxxxx-<wbr>xxxx-xxxx-xxxx-xxxxxxxxxxxx</a><br></i><i><html><head><title>Error</<wbr>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-<wbr>gateway/test-app/application/<wbr>1.0/delete/99?apikey=xxxxxxxx-<wbr>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="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_548804530710508635gmail_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>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Apiman-user mailing list<br>
<a href="mailto:Apiman-user@lists.jboss.org">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/<wbr>mailman/listinfo/apiman-user</a><br>
<br></blockquote></div><br></div>