- 🇮🇳India kkalaskar Pune
https://www.drupal.org/project/oembed_providers → install this module and configure.
If you have a Url object, and you want to make an HTTP request, you need to get the url as a string before you can pass it to the http_client service.
However, Guzzle also supports \Psr\Http\Message\UriInterface, as I found when I naively tried to pass the Url object:
> InvalidArgumentException: URI must be a string or UriInterface in GuzzleHttp\Psr7\uri_for() (line 62 of /var/www/vendor/guzzlehttp/psr7/src/functions.php).
Could we make Url implement UriInterface? Or add a method to Url to get something that does?
Active
11.0 🔥
base system
Enhances developer experience.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
https://www.drupal.org/project/oembed_providers → install this module and configure.