"preview period" message when using Integrations API


I started creating an integration today and I got to the point where I’m ensuring that I’m creating the JWT correctly.

I’m setting the Accept header to application/vnd.github.machine-man-preview+json, but when I try to GET from the integrations/installations endpoint, I keep getting this message: ‘If you would like to help us test the Integrations API during its preview period, you must specify a custom media type in the ‘Accept’ header. Please see the docs for full details.’

Are the headers case sensitive? If the accept header is correct, but I created my JWT incorrectly, will I still get the same message or will it be an unauthorized message?

Thanks for any help.


I figured out what I was doing wrong. I was using the simple-get npm module and if the json option is true, it overwrites the accept header.