Adding Consume Functionality #74

Merged
Ghost merged 11 commits from consume-functionality into main 2024-01-29 18:38:28 +00:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit d5f4dab0eb - Show all commits

View File

@@ -14,6 +14,11 @@ const ConsumeAction = ({ endpoint }: { endpoint: string }) => {
url: endpoint, url: endpoint,
method: "GET", method: "GET",
data: null, data: null,
withCredentials: true,
headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
}; };
axios(axiosConfig) axios(axiosConfig)

View File

@@ -60,6 +60,11 @@ const EntityActions = ({ endpointData, rowData }: Props) => {
url: endpoint, url: endpoint,
method: "GET", method: "GET",
data: null, data: null,
withCredentials: true,
headers: {
"Content-Type": "application/json",
Accept: "application/json",
},
}; };
axios(axiosConfig) axios(axiosConfig)