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

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.