-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Every instantiation of the Configuration object requires the same baseOptions value of { headers: Accept: "application/vnd.mx.api.v1+json" }. For example:
const apiConfig = new Configuration({
username: process.env.MX_CLIENT_ID,
password: process.env.MX_API_KEY,
basePath: process.env.MX_API_URL,
baseOptions: {
headers: {
Accept: "application/vnd.mx.api.v1+json"
}
}
})This library should set this default value.
Metadata
Metadata
Assignees
Labels
No labels