Apple News Publisher API - authorisation signature

https://developer.apple.com/documentation/apple_news/create_an_article

when using
var httpService = new http()

Is it possible to get the request that will get sent?

The Apple API requires all of this is used to create an authorisation signature (for a POST)

  • Method + URL + date
  • boundary
  • Content-Type
  • Body
  • Content-Disposition
  • contents of file

You can set a proxy to see what’s going on

I need to get the request before it is sent so it can be signed