CodeIgniter Forums
Global query params for CURL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29)
+--- Thread: Global query params for CURL (/showthread.php?tid=77427)



Global query params for CURL - Michal_PB1 - 08-31-2020

Hi,

In reference to https://forum.codeigniter.com/thread-77391.html. I think that adding an option to sets a global query for CURLRequest would be useful. It may be used for a request authorization like `?key=X&token=Y` or every time if we need to set the same data (or part) for every request. If someone will set additional data for a single request that data should be merged and overwritten if already exists.