update commect2
This commit is contained in:
@ -42,8 +42,6 @@ const TheContent = () => {
|
|||||||
|
|
||||||
async function postUserData(data) {
|
async function postUserData(data) {
|
||||||
|
|
||||||
console.log("posting data : " + data);
|
|
||||||
|
|
||||||
let axiosConfig = {
|
let axiosConfig = {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json;charset=UTF-8',
|
'Content-Type': 'application/json;charset=UTF-8',
|
||||||
@ -51,6 +49,8 @@ const TheContent = () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log("------ posting data ------- : " + data);
|
||||||
|
|
||||||
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
|
const result = await axios.post('https://fbssso.ts.bizside.biz/csv', data, axiosConfig)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log("AXIOS ERROR: ", err);
|
console.log("AXIOS ERROR: ", err);
|
||||||
|
|||||||
Reference in New Issue
Block a user