This is how I am defining everything just for a test in an angular seed project.
For some reason it made me define the buffer type for some reason, in which case I am getting the following
Fetch API cannot load http://echo.websocket.org/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8200' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Fetch API cannot load http://echo.websocket.org/. No 'Access-Control-Allow-Origin'
This is how I am defining everything just for a test in an angular seed project. For some reason it made me define the buffer type for some reason, in which case I am getting the following
Fetch API cannot load http://echo.websocket.org/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8200' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Any tips would be greatly appreciated.
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 'use strict';
}]);