Closed timur560 closed 7 years ago
I was trying to pass auhtorization headers, but it doesn't work.
var networkInterface = createNetworkInterface({ uri: 'http://buurb.core.local/api/v1/graphql', opts: { headers: { 'Authorization': 'Bearer wzTvclDTOA1EpRcsROLP_yo2risS0v5C', } } });
The reason was that OPTIONS should always return 200 without authorization. The issue was fixed by server updating.
I was trying to pass auhtorization headers, but it doesn't work.