CodeIgniter Forums
Problems with digest and POST calls using Phils Restserver. Please help! - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Problems with digest and POST calls using Phils Restserver. Please help! (/thread-32471.html)



Problems with digest and POST calls using Phils Restserver. Please help! - El Forum - 07-24-2010

[eluser]murphy2006[/eluser]
Hello!

I am trying to implement the Phil Sturgeon excellent RESTserver but I have some problems.

Problem #1

I cannot make a POST call. PUT, GET and DELETE works fine. The data is not transfered and executed.

Problem #2

I am using basic authentication but it only works on GET calls. When using it on for example POST calls the function does not work anymore. CanĀ“t I use admin:[email protected] on both GET and POST calls?

I really would like to use Digest Authentication too, but I do not know how to use it.
How to pass the username and password.

Problem #3

I cannot find any documentation (other than Nettuts which was excellent). Really need more indeph information about for example POST calls.

Please help!


Problems with digest and POST calls using Phils Restserver. Please help! - El Forum - 07-25-2010

[eluser]Phil Sturgeon[/eluser]
What are you using to make your POST, PUT and DELETE calls? You can use cURL to send Digest authentication and POST data.