You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that parameters passed into a GET method call with the --additional-params options are being ignored.
I'm able to successfully invoke DELETE, POST, PUT - so my cognito elements and the basic mechanisms are all good - and I can call GET with a path parameter, however anything I try to pass in as a querystring is ignored.
I've tried with escaped double quote JSON from windows i.e. --additional-params "{\"name\":\"value\"}" as well as standard singe quoted JSON under Linux i.e. --additional-params '{"name":"value"}'
Note: the escaped quotes succeeds for JSON submitted in the --body parameter under window.
Am I missing something obvious?
Thanks!
The text was updated successfully, but these errors were encountered:
OK, so when I RTFM really really closely, I figured it out i.e. that the query string params have to be wrapped in a {"queryParams": {}"} inside the additional-params arguments in order to be picked up.
I feel like it wouldn't hurt to call that it out in the spec for the additional-params parameter further up in the readme, rather than embedded in the example further down?
It appears that parameters passed into a GET method call with the --additional-params options are being ignored.
I'm able to successfully invoke DELETE, POST, PUT - so my cognito elements and the basic mechanisms are all good - and I can call GET with a path parameter, however anything I try to pass in as a querystring is ignored.
I've tried with escaped double quote JSON from windows i.e.
--additional-params "{\"name\":\"value\"}"
as well as standard singe quoted JSON under Linux i.e.--additional-params '{"name":"value"}'
Note: the escaped quotes succeeds for JSON submitted in the
--body
parameter under window.Am I missing something obvious?
Thanks!
The text was updated successfully, but these errors were encountered: