I implemented a REST API, just like in this example: Working with REST APIs
It is working fine when I preview it on my Android device. But if I test it on the local desktop preview I am just getting an error message:
[Viewport]: Error: TypeError: Network request failed
I haven’t found much to solve this. Is this a known issue? Any ideas how to get this working on the local preview?