Send Post Request with Custom Headers

I am trying to send a POST request to my API and pass along the JWT auth token in the headers.

I am using the Network > send request to a webpage function for GET requests and pass the token along in the query string, but POST requests cannot have the token in the query string.

Is it possible to view the code of this function and duplicate/modify it to enable custom headers?

Any help with passing the JWT token in a post request is much appreciated. Thanks!