diff --git a/src/lib/teuthologyAPI.ts b/src/lib/teuthologyAPI.ts index c3c9728..4da7fca 100644 --- a/src/lib/teuthologyAPI.ts +++ b/src/lib/teuthologyAPI.ts @@ -69,7 +69,11 @@ function useRunKill(): UseMutationResult { mutationKey: ['run-kill', { url }], mutationFn: (payload) => ( axios.post(url, data, { - withCredentials: true + withCredentials: true, + headers: { + 'Accept': 'application/json', + 'Content-Type': 'application/json', + } }) ), retry: 0,