You did not show the error message, I guess it maybe a CORS problem, the browser has a Same-Origin Policy, and PostMan is not subject to this restriction