The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Starting HTTP Requests from within a Slim App

hexa2k9's Avatar

hexa2k9

08 Feb, 2012 06:09 PM

Hi,

I don't know where this has been asked - but I'm sure it has been asked some time ago (either on Issues, here or on the old Forum).

There was a Question / Request to create a way to start HTTP Requests from within Slim. I needed this as well and never liked to work with cURL directly. Now I delayed a feature on my application for which I finally found a proper way to implement.

As Slim does not currently support to start HTTP Requests I'm now using Requests to do so. That seems to be a very nifty way to open HTTP Connections. It's hosted - just like Slim - on GitHub. It just got featured on The Changelog.

Just wanted to share that in case anyone has similar needs.

Regards,
Chris

  1. 1 Posted by Bill on 03 Mar, 2012 04:43 PM

    Bill's Avatar

    Zend Framework also has quite a nice Http client. Remember that it's a loosely coupled library.

  2. Support Staff 2 Posted by Josh Lockhart on 24 Mar, 2012 07:54 PM

    Josh Lockhart's Avatar

    Glad you found a solution. This is on the roadmap, but I don't have a specific ETA for this. Right now I'd recommend integrating with a third-party lib.

  3. Josh Lockhart closed this discussion on 24 Mar, 2012 07:54 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac