Closed tlwt closed 5 months ago
Hello, this has to do with the type of response. If you add response-type: txt
you will see that you get an HTML form and the <
is for <!DOCTYPE>
.
But regarding your problem I have been trying everything, but nothing seems to work, I even tried using cookies instead of Bearer Token but that didn't work either.
I'll keep looking to see if we can solve this problem. Have a nice day.
PS: I'm glad you liked the plugin.
I think I solved it... There were two problems:
s
was missing in headers
.I already uploaded the new version to Obsidian for you to update and test if it works for you.
Awesome! Thanks for the quick resolution. It works for me now.
I try to use the MonicaHQ API to get contact details. It requires a Auth-Token and via curl things work fine:
but via plugin I get the above mentioned message
Error: Unexpected token '<', "