obsidian-api-request icon indicating copy to clipboard operation
obsidian-api-request copied to clipboard

Error on mobile but not desktop

Open nickian opened this issue 7 months ago • 6 comments

I have a very simple request block that just renders some basic HTML:

url: https://mysite.com/page.php
res-type: md
render

This works fine on desktop Obsidian. In mobile, the blocks do not render and show this error:

Error: undefined is not an object (evaluating 'responseData.headers["content-type"].includes')

This same URL used to work fine in mobile, but something changed with an update. Is there some specific header the PHP script needs to output for this to work?

nickian avatar Jul 12 '24 19:07 nickian