Hello,
i’ve setup the api documentation and for authorization a header with the x-api-key.
It is shown in the documentation correclty - see attached screenshot.
Is it possible that the request examples include this header request in the example.
E.g. instead of only the follwing in the api request (Javascript):
var myHeaders = new Headers();
myHeaders.append(“User-Agent”, “Apidog/1.0.0 (https://apidog.com)”);
var requestOptions = {
method: ‘GET’,
headers: myHeaders,
redirect: ‘follow’
};
This one:
var myHeaders = new Headers();
myHeaders.append(“User-Agent”, “Apidog/1.0.0 (https://apidog.com)”);
myHeaders.append(“x-api-key”, “YOUR_API_KEY”);
var requestOptions = {
method: ‘GET’,
headers: myHeaders,
redirect: ‘follow’
};
This would make the fast start for our customers easier. I havn’t foudn a way to add this.
Another question - is it possible to change the default UserAgent shown here?
Thanks & Best regards
Michael