<div dir="ltr"><div>Hi</div><div><br></div><div>I'm clutching at straws here.</div><div><br></div><div>I have a user who requires access to a status-json.xsl to publish now playing data for an Alexa skill and this can be accessed via a browser at:</div><div></div><div><ul><li><span style="font-family:monospace"><a href="http://example.com:8000/status-json.xsl">http://example.com:8000/status-json.xsl</a></span></li></ul></div><div></div><div>He says that now his PHP script cannot access the file.</div><div><br></div><div>
<div>I know that Alexa requires <u>streams</u> to be served over https but this 
has previously worked and his skill is curerently failing at accessing the 
status-json.xsl file.</div><div></div>

</div><div><br></div><div>This is successful:</div><div><br></div><div><span style="font-family:monospace">curl 
<a href="http://example.com:8000/status-json.xsl">http://example.com:8000/status-json.xsl</a> </span><br></div><div><br></div><div>But this:</div><div><br></div><div>
<span style="font-family:monospace">curl 
-I <a href="http://example.com:8000/status-json.xsl">http://example.com:8000/status-json.xsl</a> 

</span></div><div><br></div><div>gives a Bad Request:</div><div><br></div><div><span style="font-family:monospace">HTTP/1.0 400 Bad Request</span></div><div><br></div><div>I'm wondering if this might be a CORS issue:</div><div></div><div><ul><li><a href="https://enable-cors.org/server.html">https://enable-cors.org/server.html</a></li></ul></div><div></div><div>If that is so, what would be the appropriate solution from the above to remedy the problem?</div><div><br></div><div>With many thanks in advance</div><div><br></div><div>Chip Scooter<br></div><div><br></div></div>