Creling / obsidian-image-uploader

MIT License
36 stars 6 forks source link

Unable to retrieve the token from the request body. #8

Closed africa1207 closed 1 year ago

africa1207 commented 1 year ago

Hello, I have set up an image hosting service using the project https://github.com/icret/EasyImages2.0/blob/master/docs/API.md. The API requires getting the token from the form data instead of the headers. Therefore, I have configured the "Upload Body" in the obsidian-image-uploader as {"image": "$FILE","token":"my_token"}. However, I'm receiving an error response from the API, indicating that the token is not being obtained.