Tag: url

60 votes
30 answers
2.2K views
Download single files from GitHub

I guess most of you, developers, use any VCS, and I hope some of you use Git. Do you have any tip or trick how

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
62 votes
30 answers
1.7K views
How to change the URI (URL) for a remote Git repository?

I have a repo (origin) on a USB key that I cloned on my hard drive (local). I moved "origin" to a NAS and succ

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
45 votes
7 answers
2.8K views
Allow Access-Control-Allow-Origin header using HTML5 fetch API

I am using HTML5 fetch API. var request = new Request('https://davidwalsh.name/demo/arsenal.json');

avatar
Freida
0 1 0 9
asked 07 September, 2021
61 votes
6 answers
1.4K views
What is a callback URL in relation to an API?

I've been scouring the net, and can't seem to wrap my head around the idea of a callback URL. In my

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
53 votes
8 answers
2.1K views
Call a Server-side Method on a Resource in a RESTful Way

Keep in mind I have a rudimentary understanding of REST. Let's say I have this URL: http://api.animals.c

avatar
User demo
0 1 0 9
asked 07 September, 2021
57 votes
0 answers
2.7K views
How to send a post request using CURL in nightwatch?

I have a use case requirement where i have to send a post request using a curl command before running ANY test

avatar
Denese
0 1 0 9
asked 07 September, 2021
56 votes
7 answers
2.9K views
When do we need curly braces around shell variables?

In shell scripts, when do we use {} when expanding variables? For example, I have seen the following: var=10

avatar
Jesenia
0 1 0 9
asked 07 September, 2021
57 votes
10 answers
3K views
Menu path in Pathauto

How do I get pathauto under Drupal 7 to generate a URL alias by the full menu path?

avatar
Kurtis
0 1 0 9
asked 07 September, 2021
57 votes
9 answers
3K views
POST XML file using cURL command line

How can I POST an XML file to a local server http://localhost:8080 using cURL from the command line? What comm

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
54 votes
10 answers
2K views
Facebook SDK: app not registered as a URL Scheme

I am using the Facebook SDK found here, and am trying the sample that is provided (in the folder FacebookiOSSa

avatar
Frederick
0 1 0 9
asked 07 September, 2021
55 votes
7 answers
3.2K views
CURL ERROR: Recv failure: Connection reset by peer - PHP Curl

I'm having this strange error, CURL ERROR: Recv failure: Connection reset by peer This is how it happens

avatar
Tuan
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
2.1K views
React-router urls don't work when refreshing or writing manually

I'm using React-router and it works fine while I'm clicking on link buttons, but when I refresh my w

avatar
Robyn
0 1 0 9
asked 07 September, 2021
51 votes
30 answers
2.3K views
Loading/Downloading image from URL on Swift

I'd like to load an image from a URL in my application, so I first tried with Objective-C and it worked,

avatar
Lorenzo
0 1 0 9
asked 07 September, 2021
53 votes
9 answers
3.1K views
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 /n

avatar
Leonardo
0 1 0 9
asked 07 September, 2021
56 votes
26 answers
1.7K views
What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

I'm currently working on a website, which triggers a net::ERR_HTTP2_PROTOCOL_ERROR 200 error on Google Ch

avatar
Boyd
0 1 0 9
asked 07 September, 2021
60 votes
5 answers
432 views
Proper URL forming with a query string and an anchor hashtag

When both a query string and anchor tag (hash tag) are visible in a URL, what is the proper order for them to

avatar
Percy
0 1 0 9
asked 07 September, 2021
55 votes
20 answers
1.5K views
How do I modify the URL without reloading the page?

Is there a way I can modify the URL of the current page without reloading the page? I would like to access th

avatar
Sydney
0 1 0 9
asked 07 September, 2021
66 votes
11 answers
911 views
How to use java.net.URLConnection to fire and handle HTTP requests

Use of java.net.URLConnection is asked about pretty often here, and the Oracle tutorial is too concise about i

avatar
Vi
0 1 0 9
asked 07 September, 2021
52 votes
5 answers
1.2K views
Redirect with CodeIgniter

Can anyone tell me why my redirect helper does not work the way I'd expect it to? I'm trying to redi

avatar
Emilia
0 1 0 9
asked 07 September, 2021
60 votes
6 answers
1.6K views
Handling PUT/DELETE arguments in PHP

I am working on my REST client library for CodeIgniter and I am struggling to work out how to send PUT and DEL

avatar
Benton
0 1 0 9
asked 07 September, 2021