tagged [url]
Get the values from the "GET" parameters (JavaScript)
Get the values from the "GET" parameters (JavaScript) I have a URL with some GET parameters as follows: I need to get the whole value of `c`. I tried to read the URL, but I got only `m2`. How do I do ...
- Modified
- 6 Oct at 15:36
How to parse user credentials from URL in C#?
How to parse user credentials from URL in C#? I have a link in this format: How to get `user` and `pass` from this URL?
How to get domain name from URL
How to get domain name from URL How can I fetch a domain name from a URL String? ### Examples: ``` +----------------------+------------+ | input | output | +----------------------+-----------...
Generic htaccess redirect www to non-www
Generic htaccess redirect www to non-www I would like to redirect `www.example.com` to `example.com`. The following htaccess code makes this happen: But, is there a way to do this in a generic fashion...
- Modified
- 5 Apr at 04:44
Get URL parameters from a string in .NET
Get URL parameters from a string in .NET 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["the...
- Modified
- 2 Apr at 06:13
How to download image from URL
How to download image from URL Is there a way to download an image directly from a url in c# if the url does not have an image format at the end of the link? Example of URL: I kno
Getting absolute URLs using ASP.NET Core
Getting absolute URLs using ASP.NET Core In MVC 5, I had the following extension methods to generate absolute URLs, instead of relative ones: ``` public static class UrlHelperExtensions { public sta...
- Modified
- 14 Jan at 13:4
What are the safe characters for making URLs?
What are the safe characters for making URLs? I am making a website with articles, and I need the articles to have "friendly" URLs, based on the title. For example, if the title of my article is `"Art...
- Modified
- 13 Jan at 22:6
How can I dynamically switch web service addresses in .NET without a recompile?
How can I dynamically switch web service addresses in .NET without a recompile? I have code that references a web service, and I'd like the address of that web service to be dynamic (read from a datab...
- Modified
- 13 Jan at 13:35
Parsing query strings on Android
Parsing query strings on Android Java EE has [ServletRequest.getParameterValues()](http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html). On non-EE platforms, [URL.getQuery(...
How to get the size of a file in MB (Megabytes)?
How to get the size of a file in MB (Megabytes)? I have a zip file on a server. How can I check if the file size is larger than 27 MB?
How to encode URL parameters?
How to encode URL parameters? I am trying to pass parameters to a URL which looks like this: And I want to pass the parameters such as an image URL which is generated itself by another API, and the li...
- Modified
- 2 Aug at 21:8
Why my coreWebView2 which is object of webView2 is null?
Why my coreWebView2 which is object of webView2 is null? I am creating a object of Microsoft.Web.WebView2.WinForm.WebView2 but the sub obect of this coreWebView2 is null ``` Microsoft.Web.WebView2.Win...
- Modified
- 27 Jul at 13:46
Get HTML code using JavaScript with a URL
Get HTML code using JavaScript with a URL I am trying to get the source code of HTML by using an [XMLHttpRequest](https://en.wikipedia.org/wiki/XMLHttpRequest) with a URL. How can I do that? I am new ...
- Modified
- 20 Jul at 15:21
How can I include special characters in query strings?
How can I include special characters in query strings? URL `http://localhost/mysite/mypage?param=123` works fine. However, if I want to put some special characters in `param`, like `?`, `/`, `\`, then...
- Modified
- 10 Jul at 09:19
Show image from URL with Xamarin.Forms
Show image from URL with Xamarin.Forms I am using this code to show image from an URL ### .xaml ```
- Modified
- 4 Jul at 00:53
How can I create a friendly URL in ASP.NET MVC?
How can I create a friendly URL in ASP.NET MVC? How do I generate friendly URLs within the ASP.NET MVC Framework? For example, we've got a URL that looks like this: The 1 is Id of the study level (Hig...
- Modified
- 20 Jun at 09:12
GETting a URL with an url-encoded slash
GETting a URL with an url-encoded slash I want to send a HTTP GET to `http://example.com/%2F`. My first guess would be something like this: Unfortunately, I can see that what is actually sent on the w...
- Modified
- 20 Jun at 09:12
What's the best way to create a short hash, similar to what tiny Url does?
What's the best way to create a short hash, similar to what tiny Url does? I'm currently using MD5 hashes but I would like to find something that will create a shorter hash that uses just `[a-z][A-Z][...
Apache RewriteRule .* index.php [NC,L] Not working
Apache RewriteRule .* index.php [NC,L] Not working I am trying to redirect everything to a single page from my /website/folder/ directory. I added a simple .htaccess with this simple code (I know this...
- Modified
- 20 Jun at 09:12
Url.Action parameters?
Url.Action parameters? In listing controller I have, In ASPX page I call, ```
- Modified
- 19 Jun at 14:24
How to get URL parameter using jQuery or plain JavaScript?
How to get URL parameter using jQuery or plain JavaScript? I have seen lots of jQuery examples where parameter size and name are unknown. My URL is only going to ever have 1 string: I just want to det...
- Modified
- 25 May at 10:13
How to convert URL parameters to a JavaScript object?
How to convert URL parameters to a JavaScript object? I have a string like this: How can I convert it into a JavaScript object like this?
- Modified
- 23 May at 03:14
How to specify a local file within html using the file: scheme?
How to specify a local file within html using the file: scheme? I'm loading a html file hosted on the OS X built in Apache server, within that file I am linking to another html file in the same direct...
Automatically generate lowercase dashed routes in ASP.NET Core
Automatically generate lowercase dashed routes in ASP.NET Core ASP.NET Core uses CamelCase-Routes like [http://localhost:5000/DashboardSettings/Index](http://localhost:5000/DashboardSettings/Index) by...
- Modified
- 20 May at 08:17