Skip to content

Commit e942c6e

Browse files
authored
Add Content-Type header to /api/v2/key request
Replaces text/plain with application/json for proper ingestion on the backend
1 parent 4cc3368 commit e942c6e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/shared/AppError/custom/AppErrorTooManyRequests.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const AppErrorTooManyRequests = ({ bypassOptions, reset }: Props) => {
4747
method: 'POST',
4848
body: JSON.stringify({ recaptcha_response: token }),
4949
headers: {
50+
'Content-Type': 'application/json',
5051
'recaptcha-v2-response': token,
5152
},
5253
});

0 commit comments

Comments
 (0)