ejabberd - Comments for "http_upload cors problem with external web app" https://www.ejabberd.im/forum/25600/httpupload-cors-problem-external-web-app en I had the same issue. I added https://www.ejabberd.im/forum/25600/httpupload-cors-problem-external-web-app#comment-67277 <p>I had the same issue. I added to my config:</p> <div class="codeblock"><code>custom_headers:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Access-Control-Allow-Origin&quot;: &quot;*&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Access-Control-Allow-Methods&quot;: &quot;GET, POST, PUT, OPTIONS, DELETE&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Access-Control-Allow-Headers&quot;: &quot;Content-Type, Origin, X-Requested-With&quot;</code></div> <p>and it worked!</p> Wed, 25 Jan 2017 15:15:40 +0000 Marzanna comment 67277 at https://www.ejabberd.im