Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding second parameter to web service URL

I'm using the following moviefone web service in one of my Android applications:

http://gateway.moviefone.com/

The user enters his zip code, and the following XML data is used to get his nearby movie theaters and movies.

http://www.moviefone.com/search/19087?format=xml

My question is, how do you add the parameter for changing the date of the showtimes? That XML only contains movie information for the current date. The web service gateway page says: "params: zip/id= count= date=YYYYMMDD"

I tried adding "date=20120208" to the end of the URL but it didn't work.

like image 914
Dan Avatar asked Feb 09 '26 22:02

Dan


1 Answers

Use a & to separate multiple parameters:

http://www.moviefone.com/search/19087?format=xml&date=20120208
like image 53
driangle Avatar answered Feb 16 '26 23:02

driangle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!