-
Notifications
You must be signed in to change notification settings - Fork 31
Description
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?
-
When I run the above command on the
same machinebut usingWindows Subsystem for Linux Ubuntuit is successful ✅ -
When I run the above command on the
same machinebut usingWindows Command Prompt(but adhering to Windows Command Prompt formatting) it is successful ✅ -
When I run the above command on a
different machinewithLinuxthe it is successful ✅ -
All 3 give a successful response:
Getting temporary credentials Making API request { status: 200, statusText: 'OK', data: { userId: 'eu-west-2:************************', noteId: '************************', content: 'hello world', attachment: 'hello.jpg', createdAt: 1702480927787 } }