![]() |
Add body to headers http - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Add body to headers http (/showthread.php?tid=69465) |
Add body to headers http - omid_student - 11-28-2017 Hello I programming mobile app that need call delete method in api But i cannot send body to relate method with parameter Is there header key for add parameter into key and send api ? RE: Add body to headers http - neuron - 11-28-2017 what if you do GET query. and send parameter as a GET value? /delete?id=4 RE: Add body to headers http - omid_student - 11-28-2017 (11-28-2017, 01:55 AM)neuron Wrote: what if you do GET query. and send parameter as a GET value? /delete?id=4 I send it but in api it return empty I use restful library that exist for codeigniter I report $_SERVER and see it and it exist in arg paramter But restful cannot get it RE: Add body to headers http - omid_student - 11-28-2017 (11-28-2017, 02:08 AM)omid_student Wrote:(11-28-2017, 01:55 AM)neuron Wrote: what if you do GET query. and send parameter as a GET value? /delete?id=4 It solved Thanks I get parameter with $_SERVER['argv'] |