Content Management API javascript

Hello, does anyone have a full working example of getting a file from a html form input and then successfully uploading it into contentful, as an asset. It is really hard to follow the docs, and there is no complete example on how to do this.
Thanks in advance

1 Like

I second this. The docs are atrocious.