File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Register an event listener and trigger it when needed
7070- ** R::runScript(...)**
7171Run R script (if you have R installed)
7272- ** HttpClient::cURL(...)**
73- Run cURL script to send a request (Not completed yet)
73+ Run cURL script to send a request
7474
7575#### Run Web App:
7676- Install docker and docker-compose if needed
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public static function cURL(
5959 CURLOPT_FOLLOWLOCATION => true ,
6060 CURLOPT_HEADER => true ,
6161 CURLOPT_HTTPHEADER => $ headers ,
62+ CURLOPT_HTTPAUTH => $ isBasicAuth ? CURLAUTH_ANY : '' ,
6263 CURLOPT_USERPWD => $ isBasicAuth ? implode (': ' , array_values ($ basicAuth )) : '' ,
6364 CURLOPT_NOBODY => $ isBody ,
6465 CURLOPT_CUSTOMREQUEST => $ method ,
You can’t perform that action at this time.
0 commit comments