SeaFile API Upload file - always 400 Bad request

I’ve tried

  1. Simple node ts file with fetch
  2. nest js api with fetch
  3. nest js api with axios
  • token done
  • upload token done

Change and combine defferent headers, settings, file data, etc.

And for sure straight code from exaple. Always 400 bad request.

Any advices?

__
It’s working only as curl request.