AnomalyInnovations / aws-api-gateway-cli-test

A simple CLI to test API Gateway endpoints with IAM authorization
MIT License
120 stars 29 forks source link

--invoke-url appends "c" to the end with GitBash Windows #32

Open bazmurphy opened 11 months ago

bazmurphy commented 11 months ago

On Windows 11 using GitBash MINGW64 (the command line tool bundled with Git for Windows, downloaded from from https://git-scm.com/downloads)

When I try to run the

npx aws-api-gateway-cli-test [other flags] --invoke-url='https://**********.execute-api.eu-west-2.amazonaws.com'

I receive:

Getting temporary credentials
Making API request
getaddrinfo ENOTFOUND uxh91gk4ta.execute-api.eu-west-2.amazonaws.comc

^ ℹ️ Note the additional "c" at the end of the url that is not present in the original --invoke-url string

This seems to be a bug in how MINGW64 translates the url.. hence the stray "c" character? But I would like to know if other's experience this?


vaughankraska commented 10 months ago

I am having the same issue.