The error is the following:
XMLHttpRequest cannot load http://some_url.herokuapp.com/api/some_api/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 503.
when calling
return this._http.post(requestUrl, JSON.stringify(requestBody), requestOptions)
I had troubles with CORS (when working with Angular 1) in the past and I remember that once CORS were activated server-side,I had to transform the http request to parse certain HTTP headers.
I am quite confused about how it should work, so any explanation is very welcome.