Uploads API Body samples & request method

Uploads API Body samples & request method

Hi,

Hope you are fine.

I am request UPLOAD Api from post man its totally working fine but how could i pass all that body and headers via JS code.I am attaching images what i got in response please have a look into it.
In this image i am showing the console the whole data that i am passing for a request
This is my JS code of body and headers .Is this correct or not please help
This is a header response in my network
Here is the error