KatPadi's Point

Tag: wp_remote_request

WP and Bearer Token

So here’s some quick stuff regarding a simple function in WP. WP’s wp_remote_request retrieves raw response from the HTTP request. Goal: To make an HTTP request to a URL and get back the response using Bearer token. I am writing it down because I had a hard time finding how to do it. All the…