https://i.sstatic.net/zQzAC.jpg
I've been attempting to include the X-APIKeys headers in every api call, but I'm only finding examples in curl. Here's what I've tried:
var accessKey = "gdgfdgdfgdgdgfdgdfgfdgfdgdgh";
var secretKey = "ggdgfdgdggtet565645654654654";
$http.get("/information",{
headers:{ {"X-APIKeys": accessKey, secretKey}}
)
I also attempted to create an interceptor for the config:
config.headers['X-ApiKeys'] = {accessKey, secretKey}
The format of the X-APIKeys structure is what seems to be causing my issues. I have included a screenshot of the http headers they are requesting.
Full Request Header:
Accept:*/*
Accept-Encoding:gzip, deflate, sdch
Accept-Language:en-US,en;q=0.8
Access-Control-Request-Headers:accept, x-apikeys
Access-Control-Request-Method:GET
Connection:keep-alive
Host:
Origin:http://localhost:60531
Referer:http://localhost:60531/
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36
Below is the request header when trying Tomislav's example: https://i.sstatic.net/cv82N.jpg