Passing cookies when using wp_remote_get
I’m working on a plugin that fetches remote RSS feeds using
wp_remote_get. The problem is that Tumblr requires a cookie for GDPR compliance. This includes RSS feeds. Which means all Tumblr feeds are currently broken.
I found an example of using CURL to acquire the cookies so the feed will load. However, I have little more than a passing acquaintance with
wp_remote_get and related functions.
How do I implement the cookie getting hack from the example via WordPress’ remote get methodology?
Edit: To clarify, I need to get and then use a cookie. That’s two requests; one for the cookie and a second using the cookie.