Closed lelu0 closed 2 weeks ago
This output you're getting is not valid JSON for some reason But you can try parsing it anyway (probably would fail) You most likely need headers on your request to ask for a JSON output Like Content-Type: application/json (this is more for your provided body, not for the output) Or better Accept: application/json
Yes, you are right. If someone ends up looking for the answer here are the correct settings:
done here
Hi, I have a Laravel API which is working fine in postman while is setup like this:![image](https://github.com/occ-ai/obs-urlsource/assets/9079209/e5228e52-ae66-4190-82b2-077aad0cbd02)
When I use same setup in the plugin, input isn't correct as you can see on the screen when I dumped response:
![image](https://github.com/occ-ai/obs-urlsource/assets/9079209/090fb1e9-1f27-4899-acfc-aef5d8357879)
Could you assist me with this? What body format should be used to API parse input correctly? I'm using Laravel native Request class so I'm sure that API is working correctly.