Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

untitled notebook

node v16.15.0
version: 1.0.0
endpointsharetweet
const { fetch, FormData } = require('undici') var form = new FormData(); form.append('my_field', 'my value'); form.append('my_buffer', Buffer.from('qweqwe')); const { headers, } = await fetch('https://webhook.site/52b8e471-f5cd-4d71-add3-eefae37d24be', { method: 'POST', body: form }) console.log('headers', headers)
Loading…

no comments

    sign in to comment