microsoft / PowerShellForGitHub

Microsoft PowerShell wrapper for GitHub API
Other
584 stars 184 forks source link

Allow callers of Invoke-GHRestMethod[MultipleResult] to specify additional headers #319

Closed HowardWolosky closed 3 years ago

HowardWolosky commented 3 years ago

Description

When experimenting with the the notifications API, it was necessary to be able to specify an additional header (If-Modified-Since).

Making this support generic by allowing callers to specify any number of additional headers to be included with the REST request.

Issues Fixed

n/a

References

Notifications API (although this doesn't actually implement anything from there)

Checklist