0👍
You’re running into a Cross Origin Request (cors) limitations. This usually happens when you are using fully qualified url when making a server request that is a different origin than the hosting document.
In your example you are using http://localhost:50000/api/user/user_name/machines in your request. If possible you can use a relative path like /api/user/user_name/machines instead so the request will be made based on the url entered in the browser. This will make sure the browser doesn’t send a preflight request.
Source:stackexchange.com