CodeIgniter Forums
Global query params for CURL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forum-29.html)
+--- Thread: Global query params for CURL (/thread-77427.html)



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.