Thank you for the starting point. I think the Zend is gone from v9, looks like there’s a GuzzleHttpClient now. Hope it’s more or less similar to what I need. I don’t need curl.
I didn’t realise that - that’s a little annoying, as it means V8 code with documented helpers isn’t backwards compatible. The documentation needs updating then.
I do appreciate the decision to change to Guzzle though - it’s very well established and documented, and used in many other libraries and systems.
Yep, your example matches what I’ve just been adjusting, which looks pretty much like this now:
There might be a better way to test for v9, but I think this is at least clear as an example.
I don’t think you would access php://input with Guzzle as its for remote calls. php://input is really just a low-level way of accessing request data.