Is there a simple way in .NET to quickly get the current protocol, host, and port? For example, if I’m on the following URL: http://www.mywebsite.com:80/pages/page1.aspx I need to return:...
Is it possible to remove the # symbol from angular.js URLs? I still want to be able to use the browser’s back button, etc, when I change the view...
I would like to know the differences between these two types of URLs: relative URLs (for pictures, CSS files, JS files, etc.) and absolute URLs. In addition, which one...
This question already has answers here: Convert string into slug with single-hyphen delimiters only (10 answers) Closed 2 years ago. I am facing an issue with URLs, I want...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow....
This might be a dumb question but what is the simplest way to read and parse JSON from URL in Java? In Groovy, it’s a matter of few lines...
Java EE has ServletRequest.getParameterValues(). On non-EE platforms, URL.getQuery() simply returns a string. What’s the normal way to properly parse the query string in a URL when not on Java...
Is it safe to pass raw base64 encoded strings via GET parameters? 10 Answers 10
I’ve got a string in .NET which is actually a URL. I want an easy way to get the value from a particular parameter. Normally, I’d just use Request.Params["theThingIWant"],...
How would I have a JavaScript action that may have some effects on the current page but would also change the URL in the browser so if the user...