NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: EdwardLoh on February 17, 2025, 12:37:05 PM
-
Hello Everyone,
Mostly using the NetTalk Wizards, I have been able to created a few web service servers. The API has always been in this format: DomainName/SerivceName/MethodName. This works great when I have control of my API. However, I need to replace a third party web service which uses this calling format: DomainName/MethodName.
How do I setup my NetTalk Web Service Server to accept this URI and trigger the corresponding method procedure?
Edward
-
You can do it, no problem.
-
Hello Alberto,
Thank you for the kind words.
Do you have an example or a link to any description on how to use NetTalk to response to this format. From the NetTalk web server log, I noticed that the action is blank and, therefore, the server does not know how to response.
Regards,
Ed
-
Eduard, you dont have to do anything, even if you test the service using a browser, the nettalk example does not include the service name, just the IP/MethodName
Regards
-
Hello Alberto,
Many thanks for the help.
I must have made a typo when I tried with my browser earlier because I could not get the server to respond with just IP/MethodName. I looked at example #77 and it worked. So, I try my server again and it also worked.
Regards,
Ed