I want to use an API of a web-site. It works in a simple way. I specify URL and get the information that I need. In the URL, that I specify, I give URL of a web site about which I want to know the information. For example:
www.websiteapi.org?url=http://www.google.com&format=extended
I do not understand how API should work in cases where the URL (that I want to use as an argument) contains several get variables separated by &
. In other words, how the API will know that sequence of symbols coming after &
is part of the input URL and not an indication of a new variable that should be passed to the API?
如何对待这种情况?
ADDED
下面是亚特兰大如何发挥作用的一个例子:
http://www.reddit.com/api/info.json?url=http://neatorama.cachefly.net/images/2007-08/iq-ocs.jpg&count=1