Angular.js 401 Unauthorized Status Code
问题 I want to get access token for authentication. My post result like POST https://staj-io-goldenilkay92-1.c9.io/api/v1/oauth/token 401 (Unauthorized) but when I try to post with postman it works. Server Side Headers res.setHeader('Access-Control-Allow-Origin', '*'); res.setHeader('Access-Control-Allow-Methods', 'POST, GET, PUT, DELETE, OPTIONS'); res.setHeader('Access-Control-Allow-Headers', 'X-Requested-With,content-type, Authorization'); res.setHeader('Access-Control-Allow-Credentials', 'true