Tag: curl

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
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
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
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
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
58 votes
30 answers
2.9K views
How do I get a YouTube video thumbnail from the YouTube API?

If I have a YouTube video URL, is there any way to use PHP and cURL to get the associated thumbnail from the Y

avatar
Jesenia
0 1 0 9
asked 07 September, 2021