Welcome Guest, Not a member yet? Register   Sign In
Add body to headers http
#1

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 ?
Reply
#2

what if you do GET query. and send parameter as a GET value? /delete?id=4
Reply
#3

(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
Reply
#4

(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

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

It solved Thanks
I get parameter with $_SERVER['argv']
Reply




Theme © iAndrew 2016 - Forum software by © MyBB