cURL is a library and command-line tool for transferring data using several protocols such as HTTP, FTP and Telnet.

learn more… | top users | synonyms

4
votes
1answer
112 views

Wrapping Curl, an HTTP client

I have written an HTTP client wrapped the libcurl. It should be able to do HTTP get/post with string/map param, with cookies and proxy. Can somebody review the code? B.T.W., I'm not sure the way ...
1
vote
0answers
65 views

Webhook Structuring

I am building a Webhook model so users can receive data from a messaging app. I have never created such a system before, and I'd like to get some feedback on my attempt. ...
8
votes
1answer
139 views

HTTP Stream Part 2 A stream that opens an HTTP GET and then acts like a normal C++ istream

The review I asked for yesterday was for a header only library. HTTP Stream A stream that opens an HTTP GET and then acts like a normal C++ istream This has some limitations as it downloads all the ...
11
votes
1answer
221 views

Stream that opens an HTTP GET and then acts like a normal C++ istream

Needed a quick stream to get JSON objects. ...
2
votes
1answer
85 views

Bash script to monitor Webserver php script

Below is a script I wrote today to use CURL to monitor the length of various HTTP server outputs and output a response if this is different than 103 characters. This is my first bash script, so I had ...
2
votes
3answers
181 views

Service status checker… Is there a more efficient way?

I've been working on a website status checker.. However this array that I use has around 30 sites within it, I've noticed it's taking around 6-7 seconds to load it. I was wondering if there's any ...
3
votes
1answer
200 views

Optimizing PHP script fetching entire HTML pages

The following script should get links which are stored in a text file (line by line), then put them into an array and finally scan each links' source code for a certain line. If this line is found, it ...
3
votes
2answers
502 views

Improve multithreading with network IO and database queries

I'm writing a script that: fetch a list of urls from a db (about 10000 urls) download all the pages and insert them into the db parse the code if(some condition) do other inserts into the db I ...
2
votes
1answer
126 views

How can this function to get a remote file improve?

I've prepared a function using cURL to get a remote file to the local storage: ...