Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter REST client library

[eluser]Phil Sturgeon[/eluser]
To go along with my REST server implementation for CodeIgniter I made a REST client library.

It was started a while back as I made the two at the same time, I just never got around to finishing it as all the work I was doing was REST service based and none of it needed CodeIgniter to make the requests.

Have a look at the test's here and let me know what you think. More work and examples will be done when im back from EECI2009.

Hi Phil,

I've been using your REST client (http://philsturgeon.co.uk/restclient/index.php/test) to test a REST server I've set up using your excellent libraries & tutorial, specifically to test POSTing to the server.

When I use your client to POST, I get the following error:

No responce
Code: 77
Message: error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none
Call details


PHP Result

A useable PHP array or object for use in your code.

array(1) {

That's when I noticed that while I can send GET requests using my browser, I get the same error when sending GET requests using your test client. I was wondering if you could shed some light on Error Code 77, and whether the problem is with my server or with your test client.

This appears to be an issue with the test client at philsturgeon.co.uk. I set up a copy of Phil's excellent REST client on my dev server and have been able to make both GET and POST requests to my server.

Thanks again for some great libraries.

Theme © iAndrew 2016 - Forum software by © MyBB