gm3dmo/the-power

Add support for version header to the power

jjkennedy3 opened this issue · 1 comments

With the new API structure supporting X-GitHub-API-Version header, some of the API calls are failing. Add support for a standard version latest and a way to override it.

In: https://docs.github.com/en/rest/overview/api-versions?apiVersion=2022-11-28 (no space)

image

The presence or not of the space seems to affect the quoting when submitting with curl:

image

So it looks like that's a behaviour of the shell quoting which is dependent on whether there is a space or not a space. in the piece being quoted with double quotes.