coddingtonbear / obsidian-local-rest-api

Unlock your automation needs by interacting with your notes in Obsidian over a secure REST API.
MIT License
607 stars 56 forks source link

bug: can’t write binary file #88

Closed rowthan closed 9 months ago

rowthan commented 9 months ago

i tried write a image file called by put method but faild.

i think it’s a problem in this method _vaultPut . why it prevent write binary files?

rowthan commented 9 months ago

i have made a pull request to solve this problem. check it please #89

coddingtonbear commented 9 months ago

I wonder if you could elaborate on the problem you might've been experiencing -- I'm vaguely aware that we do handle binary content as long as the content-type header is set correctly. What error message are you seeing?

coddingtonbear commented 9 months ago

Fixed via release 2.0.0.