HTTPService get with parameters

I was trying to put together a simple HTTPService Get service and most of the tutorials online did not work for me, as most of them are get calls without parameters and I needed to pass 2 to 3 arguments with my get call. Below is sample code for my get call.

[cc lang=”actionscript3″]

private function getListings():void
var params:Object = new Object;
params[“Input”] = txtInput.text;
params[“Index”] = new String(cmbSample.selectedIndex);
How does this work
When the HTTPService executes it will convert the above call to


This way am not having to do a post call just to send two parameters.

Leave a Reply

Your email address will not be published. Required fields are marked *