tagged [url]

How can I URL encode a string in Excel VBA?

How can I URL encode a string in Excel VBA? Is there a built-in way to URL encode a string in Excel VBA or do I need to hand roll this functionality?

6 May at 14:53

Change the URL in the browser without loading the new page using JavaScript

Change the URL in the browser without loading the new page using JavaScript How would I have a [JavaScript](http://en.wikipedia.org/wiki/JavaScript) action that may have some effects on the current pa...

How to add url parameter to the current url?

How to add url parameter to the current url? Currently I'm at and I want to make a link to by not defining the current url. Like `Like`. However this last one shows me `http://example.com/&like=like`

16 Mar at 14:41

Get only filename from url in php without any variable values which exist in the url

Get only filename from url in php without any variable values which exist in the url I want to get filename without any `$_GET` variable values from a URL in php? My URL is `http://learner.com/learnin...

27 Feb at 07:30

How do I open a URL from C++?

How do I open a URL from C++? how can I open a URL from my C++ program? In ruby you can do What's the equivalent in C++? I wonder if there's a platform-independent solution. But if there isn't, I'd li...

18 Jan at 09:54

How to lazy load images in ListView in Android

How to lazy load images in ListView in Android I am using a `ListView` to display some images and captions associated with those images. I am getting the images from the Internet. Is there a way to la...

What is the difference between URL parameters and query strings?

What is the difference between URL parameters and query strings? I don't see much of a difference between the parameters and the query strings, in the URL. So what is the difference and when should on...

22 Nov at 22:3

How to launch Safari and open URL from iOS app

How to launch Safari and open URL from iOS app On the settings page, I want to include three links to - - - I've searched this site and the web and my documentation and I've found nothing that is obvi...

4 Nov at 00:31

Encoding parameters for a URL

Encoding parameters for a URL I have a Silverlight application that is building a URL. This URL is a call to a REST-based service. This service expects a single parameter that represents a location. T...

10 Sep at 13:23

Get query string parameters url values with jQuery / Javascript (querystring)

Get query string parameters url values with jQuery / Javascript (querystring) Anyone know of a good way to write a jQuery extension to handle query string parameters? I basically want to extend the jQ...

What is the meaning of # in URL and how can I use that?

What is the meaning of # in URL and how can I use that? I often found some URL which looks like the following: After writing this page some_page will be open and then scroll will be set so that I can ...

5 Jun at 00:18

How to write URLs in Latex?

How to write URLs in Latex? How do you write a URL in Latex? The subscripts and everything else make the font look very strange when it compiles.

3 May at 18:31

Change URL and redirect using jQuery

Change URL and redirect using jQuery I have some code like this, and now I want to redirect like this, Is there anyway in jQuery to solve this? It still lets me have `url = http://example.com`.

14 Apr at 13:26

How to pass extra variables in URL with WordPress

How to pass extra variables in URL with WordPress I am having trouble trying to pass an extra variable in the url to my WordPress installation. For example `/news?c=123` For some reason, it works only...

13 Apr at 18:4

ServiceStack: Explaination of the "Matching = ..." rules

ServiceStack: Explaination of the "Matching = ..." rules I need an explanation of who the string inside the Matching = "..." rule is supposed to look. I see only a few examples on docs.servicestack.co...

1 Apr at 23:41

Should URL be case sensitive?

Should URL be case sensitive? I noticed that and both works fine - actually the previous one is converted to lowercase. I think that this makes sense for the user. If I look at Google then this URL wo...

7 Mar at 17:34

Call Javascript function from URL/address bar

Call Javascript function from URL/address bar Is it possible to call a javascript function from the URL? I am basically trying to leverage JS methods in a page I don't have access to the source. Somet...

20 Feb at 08:37

Semicolon as URL query separator

Semicolon as URL query separator Although it is strongly recommended ([W3C source](http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2), via [Wikipedia](http://en.wikipedia.org/...

Getting parts of a URL (Regex)

Getting parts of a URL (Regex) Given the URL (single line): [http://test.example.com/dir/subdir/file.html](http://test.example.com/dir/subdir/file.html) How can I extract the following parts using reg...

13 Jan at 11:34

Get URL query string parameters

Get URL query string parameters What is the "less code needed" way to get parameters from a URL query string which is formatted like the following? > www.mysite.com/category/subcategory?myqueryhash Ou...

21 Oct at 06:9

How to add method description in Swagger UI in WebAPI Application

How to add method description in Swagger UI in WebAPI Application I am using Swagger as my API tooling framework and it is working out great so far. I just came across this page [https://petstore.swag...

How to create query parameters in Javascript?

How to create query parameters in Javascript? Is there any way to create the for doing a in JavaScript? Just like in Python you have [urllib.urlencode()](http://web.archive.org/web/20080926234926/http...

13 Oct at 20:45

Percentage Encoding of special characters before sending it in the URL

Percentage Encoding of special characters before sending it in the URL I need to pass special characters like #,! etc in URL to Facebook,Twitter and such social sites. For that I am replacing such cha...

8 Oct at 21:29

Getting URL hash location, and using it in jQuery

Getting URL hash location, and using it in jQuery I'd like to get the value after a hash in the URL of the current page and then be able to apply this in a new function... eg. The URL could be And I w...

3 Oct at 17:37

C# How can I check if a URL exists/is valid?

C# How can I check if a URL exists/is valid? I am making a simple program in visual c# 2005 that looks up a stock symbol on Yahoo! Finance, downloads the historical data, and then plots the price hist...

1 Oct at 13:53

How to URL encode periods?

How to URL encode periods? I need to URL encode some periods since I have to pass some document path along and it is like this So test.docx is causing me an error of an illegal character. So I need to...

18 Sep at 07:21

Optional query string parameters in ASP.NET Web API

Optional query string parameters in ASP.NET Web API I need to implement the following WebAPI method: All of the query string parameters can be null. That is, the caller can specify from 0 to all of th...

13 Sep at 12:28

.NET - Get protocol, host, and port

.NET - Get protocol, host, and port 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/page...

19 Jul at 08:57

Unescape an escaped url in c#

Unescape an escaped url in c# I have urls which is escaped in this form: I want to convert it to unescaped form is this the same thing as escapped html? how do i do this? thanks

12 Jul at 15:31

Load an image from URL as base64 string

Load an image from URL as base64 string I am trying to load an image as a base 64 string so that i can show it in a html like this: Heres my code so far, but it does not really work: ``` public async ...

19 May at 20:29

How do I replace all the spaces with %20 in C#?

How do I replace all the spaces with %20 in C#? I want to make a string into a URL using C#. There must be something in the .NET framework that should help, right?

19 Apr at 15:22

Download Returned Zip file from URL

Download Returned Zip file from URL If I have a URL that, when submitted in a web browser, pops up a dialog box to save a zip file, how would I go about catching and downloading this zip file in Pytho...

16 Mar at 16:18

How to launch a Google Chrome Tab with specific URL using C#

How to launch a Google Chrome Tab with specific URL using C# Is there a way I can launch a tab (not a new Window) in with a specific URL loaded into it from a custom app? My application is coded in . ...

10 Mar at 17:29

How do I get the fragment identifier (value after hash #) from a URL?

How do I get the fragment identifier (value after hash #) from a URL? Example: Using jQuery, I want to put the value `hello` in a variable:

2 Mar at 02:37

HttpURLConnection timeout settings

HttpURLConnection timeout settings I want to return false if the URL takes more then 5 seconds to connect - how is this possible using Java? Here is the code I am using to check if the URL is valid ``...

23 Feb at 09:38

Place API key in Headers or URL

Place API key in Headers or URL I'm designing a public API to my company's data. We want application developers to sign up for an API key so that we can monitor use and overuse. Since the API is REST,...

30 Jan at 19:58

How to encode URL to avoid special characters in Java?

How to encode URL to avoid special characters in Java? i need java code to encode URL to avoid special characters such as spaces and % and & ...etc

27 Jan at 10:13

Get file content from URL?

Get file content from URL? When I use following URL in browser then it prompt me to download a text file with JSOn content. [https://chart.googleapis.com/chart?cht=p3&chs=250x100&chd=t:60,40&chl=Hello...

16 Jan at 10:33

Giving multiple URL patterns to Servlet Filter

Giving multiple URL patterns to Servlet Filter I am using a Servlet Filter in my JSF application. I have three groups of Web pages in my application, and I want to check Authentication for these pages...

11 Jan at 04:58

A potentially dangerous Request.Path value was detected from the client (*)

A potentially dangerous Request.Path value was detected from the client (*) I am receiving the rather self explanatory error: > A potentially dangerous Request.Path value was detected from the client ...

10 Dec at 01:48

how to parse out image name from image url

how to parse out image name from image url If I have any URL with an image file at the end, such as: And I want to get: What is the best way to do this in C#?

2 Dec at 15:48

Vue.js redirection to another page

Vue.js redirection to another page I'd like to make a redirection in `Vue.js` similar to the vanilla javascript How could I achieve this in Vue.js?

25 Nov at 05:52

Parse an URL in JavaScript

Parse an URL in JavaScript How do I parse an URL with JavaScript (also with jQuery)? For instance I have this in my string, I want to get the value of `img_id` I know I can do this easily with PHP wit...

12 Nov at 10:31

Using IIS6, how can I place files in a sub-folder but have them served as if they were in the root?

Using IIS6, how can I place files in a sub-folder but have them served as if they were in the root? Our ASP.NET 3.5 website running on IIS 6 has two teams that are adding content: - - For sanity and o...

7 Nov at 17:34

Base Uri without a trailing slash

Base Uri without a trailing slash If I create a `Uri` using the `UriBuilder` like this: then the `AbsoluteUri` of `rootUrl` always contain a trailing slash like this: What I would like, is to create a...

27 Oct at 05:50

Get full query string in C# ASP.NET

Get full query string in C# ASP.NET As a PHP programmer I'm used to using $_GET to retrieve the HTTP query string... and if I need the whole string, theres loads of ways to do it. In ASP however, I ca...

27 Sep at 17:4

A better way to validate URL in C# than try-catch?

A better way to validate URL in C# than try-catch? I'm building an application to retrieve an image from internet. Even though it works fine, it is slow (on wrong given URL) when using try-catch state...

19 Aug at 13:35

How to get the previous url using PHP

How to get the previous url using PHP Suppose my site's url is given as hyperlink on some page on the internet; that page could be anything on internet - blog, orkut, yahoo, even stackoverflow etc, an...

11 Aug at 13:15

How do I get the YouTube video ID from a URL?

How do I get the YouTube video ID from a URL? I want to get the `v=id` from YouTube’s URL with JavaScript (no jQuery, pure JavaScript). ## Example YouTube URL formats `http://www.youtube.com/watch?v=u...

11 Aug at 01:52

AngularJS dynamic routing

AngularJS dynamic routing I currently have an AngularJS application with routing built in. It works and everything is ok. My app.js file looks like this: ``` angular.module('myapp', ['myapp.filters', ...