2021-01-09
javascript – No ‘Access-Control-Allow-Origin’ header is present on the requested resource—when trying to get data from a REST API

The Question : 655 people think this question is useful I’m trying to fetch some data from the REST API of HP Alm. It works pretty well with a small curl script – I get my data. Now doing that with JavaScript, fetch and ES6 (more or less) seems to be a bigger issue. I