Welcome! Log In Create A New Profile


[WB23] - Calling a script/routine

Posted by JP 
[WB23] - Calling a script/routine
April 05, 2021 11:55AM
Hi All

Using WebDev 23

Is there a way to call a script on a WebDev server, a URL, so that I could pass some parameters to it and it would run a WebDev/WinDev code routine and return some data to me from a WinDev database? Like calling an ASP script for example?

Re: [WB23] - Calling a script/routine
April 05, 2021 01:37PM
What you are describing is a webservice, so yes, of course it's possible...

Thez simplest way is to use an awp page (you can call it directly) and pass it the parameters you need.
A StringDisplay at the end of your code will send your data back as a string (you can format it any way you like, xml, json, csv, etc.)
Re: [WB23] - Calling a script/routine
April 11, 2021 06:00PM
Thanks Argus. I will investigate that further. Cheers!

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.