I'm building a REST web service client in PHP and at the moment I'm using curl to make requests to the service.
How do I use curl to make authenticated (http basic) requests? Do I have to add the headers myself?
If so I've got some other questions -
Is there a REST library for php?
or is there a wrapper for curl that makes it a bit more rest friendly?
or am I going to have to continue to roll my own?
Thanks.