Welcome Guest, Not a member yet? Register   Sign In
POST and PUT from Sturgeon's REST Client library
#1

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

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




Theme © iAndrew 2016 - Forum software by © MyBB