<div dir="ltr"><div>Hi all,</div><div><br></div><div>I got some errors with CORS plugin when I try to use my API with a contract.</div><div><br></div><div>So, I consume my API passing info through header, such as: Authorization, Content-Type, and X-API-Key.</div><div>I&#39;m talking about a javascript application. So, CORS is a problem for that language.</div><div><br></div><div>When I configure my contract to allow Cross-Origin, the error still there, but if I put my X-API-Key, as a query parameter, the CORS works fine.</div><div>Does anyone could help me to understand that?</div><div><br></div><div>I&#39;m concerned to pass my contract as a query parameter. It should be on Header of my Http Request.</div><div>Please, help me to understand if it is a behaviour of the application and how can I solve this without use query param.</div><div><br></div><div>Best Regards,</div><div><br></div>-- <br><div class="gmail_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>
</div>