Soontao / light-odata

OData(V2/V4) Client for javascript/typescript
MIT License
41 stars 10 forks source link

How to send a file? #837

Open yarkovaleksei opened 11 months ago

yarkovaleksei commented 11 months ago

https://github.com/Soontao/light-odata/blob/39e0efb6c51b6d2c088313211ec9c434a07754c3/src/odata.ts#L314

Why does body turn into a string? When I try to send a file to the server, my FormData turns into "{}". Is it possible to do without this?

Soontao commented 7 months ago

ok, I get it, will plan this.

Soontao commented 7 months ago

could you provide the odata server you're using