Home > Forum > Actions > Localhost API

Localhost API
0

Hi,

Is there any way to hook into an api that is hosted on a localhost? I have a locally fired server, I use FastAPI (the tool is built in python). In browsers the API works. However, when I try to run a query on a form I get this message.
I have already tried restarting DNS, disabling the firewall. The server is on startup and the server is listening on port 8000. I am new to webcon and just learning. Thank you in advance for your help.

MVP

Hi Mikołaj,

this may sound like a stupid question, but on which server is this service hosted?

Localhost /127.0.0.1 would be referring to the server on which the request is executed.
If this server is not the one where the WEBCON BPS IIS / workflow service is running, than it won't work.

Regarding intercepting the API calls these posts could help you:
https://daniels-notes.de/posts/2022/debug-web-service-datasource
https://daniels-notes.de/posts/2022/debug-web-service-datasource-alternative

Best regards,
Daniel