Skip to content

Commit

Permalink
Send correct content-type header
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobw committed Dec 11, 2020
1 parent cff3573 commit c5e850b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/CreateSandboxForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export default {
createSandbox( recaptcha ) {
fetch( `${ process.env.VUE_APP_API_URL }/sandbox/create`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify( { recaptcha } ),
} ).then( ( response ) => {
return response.json();
Expand Down

0 comments on commit c5e850b

Please sign in to comment.