So a REST client would be sweet for sure, but I'm wondering about the best way. I COULD just port the CI library easily enough, but I would like it to be more awesome than that. The CI REST lib is just a convenience wrapper for the Curl library and the Format library, but so much more could be done to make it less weak.
It depends what we plan on doing with the Request library, as that can deal with methods, headers, etc. Maybe we could beef up the Request library to handle external requests better, then have REST wrap around that instead of Curl?
Could do with Dan's view on this one. Class Controller_Test extends \Controller_Rest {
// your code here
}
It looks like you're new here. If you want to get involved, click one of these buttons!