fuel / docs

Fuel PHP Framework - Fuel v1.x documentation
http://fuelphp.com/docs
Other
168 stars 234 forks source link

cURL request #491

Closed zoe-edwards closed 11 years ago

zoe-edwards commented 11 years ago

I can’t find any docs about the cURL driver in the Request class? (Reminder to self to write some.)

kenjis commented 11 years ago

http://fuelphp.com/docs/classes/request/curl.html

zoe-edwards commented 11 years ago

Oh wait it’s a driver, but here’s the confusion:

http://fuelphp.com/dev-docs/classes/request/request.html

forge($uri = null, $route = true)

But it’s actually:

forge($uri = null, $options = true, $method = null)

And options includes the ability to use a driver, I asume that

Request::forge($url, 'curl', 'post');

Would create a POST cURL request?

WanWizard commented 11 years ago

That assumption is correct.

zoe-edwards commented 11 years ago

Great, can we leave this open, I might have some time to go through this and the other two soon.