build a web API with SpecialURL and Parameter

Hi!

I want to build an API for my webapp.

I know the functions of session.urlparameter. I use this to handle parameter and to display custom contents.

Now, I want to give back a json-file. For this I use the App.handlespecialURL -event.

What I don’t know is: how can I handle specialURL with custom parameter values?
like: [quote]http://example.com/special/api_name?parametername=parameter[/quote]

Thanks for helping!

Take a look at the methods in WebRequest :slight_smile:
http://documentation.xojo.com/index.php/WebRequest
I guess this is what you’re looking for.

Thanks!!!