• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?


Messages In This Thread
POST and PUT from Sturgeon's REST Client library - by El Forum - 06-19-2011, 08:42 AM
POST and PUT from Sturgeon's REST Client library - by El Forum - 04-26-2012, 12:32 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.