I am trying to call an external API from my
Zend-Expressive application. I following the documentation (https://docs.zendframework.com/zend-diactoros/v2/usage/#http-clients). As you can see the
Zend-diactoros do not ship with an
http-cleint , are there any Zend-http client that can work with the
Zend-diactoros Request object.
Zend-http has a client, but from the documentation, I do not see how it can work with the PSR-7 request object provided found in
Zend-diactoros, or I may be wrong as I am new to this. If
Zend-http-client work with
Zend-diactoros-Request , a code example of that will be greatly appreciated.
P.S.: I am not using the
Zend-http-Request as that is not PSR-7 compatible.