CodeIgniter Forums
Problem on curl request when accessing with a controller - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: Problem on curl request when accessing with a controller (/showthread.php?tid=81846)



Problem on curl request when accessing with a controller - ikibiki - 05-09-2022

I have been testing curl request in cli and postman and everything works and expected a correct response. However, when the curl request is loaded in a controller - it just waits indefinitely. I tried the native codeigniter 4 curl request library, tried phpcurl and tested with postman. I don't know why im having this error or it just wont load. Please help. Thank you.


RE: Problem on curl request when accessing with a controller - datamweb - 05-11-2022

Hello, please provide details.
Inserting codes can be useful for review.