html - Query strings with HTTP URL -
i trying http of url multiple query strings using browser. following observation
http://192.168.0.1:80/mycontent/?key1=value1 //works. http://192.168.0.1:80/mycontent/?key1=value1&key2=value2 //doesen't work.
the question here :
- i finding hard time figure out what's right format append query string
- should use
&
when put in browser? - is there way can find validity (availability in server) of query string enter in url.
you should use &
when writing link html, example:
<a href="http://192.168.0.1:80/mycontent/?key1=value1&key2=value2">example</a>
but not when entering url address bar, or using directly in javascript (for example).
your format correct, should able pick both key1
, key2
in request collection. depending on language using on server, technique differs.
Comments
Post a Comment