Use TypeScript
and node-fetch
to upload a file to Estuary.
Clone this repository and then run the script.
npm install
npm run upload
On success you should see something lke this in your terminal.
{
'content-type': 'multipart/form-data; boundary=--------------------------225027799253021671631288'
}
{ cid: 'Qmch2cHCE4WXV32vyaLgWXYqE7VSLYwrT7xJ6tpxqq3NP5' }