OK to skip slash before query string?

Viewed 33825

Is it safe to always skip the trailing slash when appending a query string?

That is, can I use

http://example.com?querystring

instead of:

http://example.com/?querystring

? All webhosts I've used support this but is it safe to assume that all server environments will support this method? Is it standard?

5 Answers

can use query string in between also below is example

/rest/mainfolder/subfolder?jsonFormat=stream&/value1/value2

Related