I have an object (data), and I need to convert it to JSON and upload it to a CDN. I plan to use `JSON.stringify()` and pass it the javascript object

It works perfectly upload files to the CDN from the browser, I wonder how I can emulate a FormData

The code I use to upload a file to the CDN is: (As an example)

```
const data = new FormData();
data.append('signature', auth.signature);
data.append('key', auth.id);
data.append('policy', auth.policy);
data.append('GoogleAccessId', auth.serviceAccount);
data.append('bucket', 'assets-visualive');
data.append('file', file);

```