Hi,
I am trying to develop web api to connect with my SAP system.
the url is the following http://sr3xxxxxx.my:8000/zunlockuser/webunlockuser
the error that i take is the following “network error when attempting to fetch resource”.
Does thunkable support http connections?
image|370x121
my block is the following
jared
July 26, 2022, 10:14am
2
Hey @Application
Did you test this on a device or via the live preview in browser? If in browser this occurs, but not on mobile, it’s most certainly a CORS issue.
At this time, web apps and web preview wont work with all api’s due to CORS issues . One way to get around this issue would be to proxy the calls using a service like Xano as shown below. If you try the following URL in a web previewed Thunkable app, you’ll notice the issue that requires proxying the call.
http://numbersapi.com/2022/year?json
[updated video ^^^]
The idea here is that if you have an API that you can’t access but want to be able to using web apps or live preview, yo…
muneer
July 26, 2022, 1:44pm
3
Where in your code you are I itiaslizing the query parameters if your Web API?