<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">&lt;<a href="mailto:celso.agra@gmail.com" target="_blank">celso.agra@gmail.com</a>&gt;</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 &quot;Internal Server Error&quot; when I send a DELETE request method and there is no Content-Type in header. I&#39;d like to know if this is an expected behavior, or something else should be configured? I&#39;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 &quot;Content-Type&quot; 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 &quot;DELETE&quot; <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>&lt;html&gt;&lt;head&gt;&lt;title&gt;Error&lt;/<wbr>title&gt;&lt;/head&gt;&lt;body&gt;Internal Server Error&lt;/body&gt;&lt;/html&gt;</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 &quot;Content-Type: application/json&quot; -X &quot;DELETE&quot; <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>[ { &quot;return&quot;: &quot;OK&quot; } ]</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:&quot;Times New Roman&quot;;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>