CodeIgniter Forums
POST and PUT from Sturgeon's REST Client library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: POST and PUT from Sturgeon's REST Client library (/thread-42783.html)



POST and PUT from Sturgeon's REST Client library - El Forum - 06-19-2011

[eluser]mattex123[/eluser]
Hi guys

Hope you can help me out with this one. I have been trying out Phil Sturgeons rest client lib, but am experiencing problems when I try to send out PUT or POST requests. It works just fine from REST Client browser addons, so the server side is good.

I use the following method to send from client to server:
Code:
$this->rest->put('method/', $array('test' = '123'));

But my REST server returns, that
Code:
$this->put()

is empty.

So I'm through to the server, but it seems that I can't send the put or post data to the server. GET method works with no problems, but I can't figure out what's causing this.

Any ideas?


POST and PUT from Sturgeon's REST Client library - El Forum - 04-26-2012

[eluser]Sanjay Sarvaiya[/eluser]
I also have same problem can any one help?