diff --git a/pkgs/ui/src/components/consume_action/index.tsx b/pkgs/ui/src/components/consume_action/index.tsx index 84f43a0..88b2c82 100644 --- a/pkgs/ui/src/components/consume_action/index.tsx +++ b/pkgs/ui/src/components/consume_action/index.tsx @@ -14,6 +14,11 @@ const ConsumeAction = ({ endpoint }: { endpoint: string }) => { url: endpoint, method: "GET", data: null, + withCredentials: true, + headers: { + "Content-Type": "application/json", + Accept: "application/json", + }, }; axios(axiosConfig) diff --git a/pkgs/ui/src/components/entity_actions/index.tsx b/pkgs/ui/src/components/entity_actions/index.tsx index 538f03c..5c31ce8 100644 --- a/pkgs/ui/src/components/entity_actions/index.tsx +++ b/pkgs/ui/src/components/entity_actions/index.tsx @@ -60,6 +60,11 @@ const EntityActions = ({ endpointData, rowData }: Props) => { url: endpoint, method: "GET", data: null, + withCredentials: true, + headers: { + "Content-Type": "application/json", + Accept: "application/json", + }, }; axios(axiosConfig)