Added Authorization header
parent
7a16c738b4
commit
5609267b44
|
@ -2,6 +2,7 @@ function getHeaders() {
|
|||
const headers = new Headers();
|
||||
headers.append("Accept", "application/json");
|
||||
headers.append("Content-Type", "application/json");
|
||||
headers.append("Authorization", "Basic ***REMOVED***");
|
||||
return headers;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@ import axios from "axios";
|
|||
|
||||
function getHeaders() {
|
||||
return {
|
||||
"Content-Type": "application/json"
|
||||
"Content-Type": "application/json",
|
||||
Authorization: "Basic ***REMOVED***"
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue