Closed victorp13 closed 2 years ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: victorp13
The full list of commands accepted by this bot can be found here.
This PR is adding a default value to the type
parameter. LGTM.
We will merge into next release branch later.
Thank you
Second attempt at creating this PR: Sorry, the previous commit had way too many changes! Please read below my explanation why I think "SPOT" should be provided as a default value for the type parameter on accountSnapshot. This is due to a bug in Postman.
Since the Wallet\Daily Account Snapshot does not have a value set for "type=", it can end up being confusing for new users of your collection. One has to read the documentation to find out that setting a value for "type=" is mandatory.
In addition, I also encountered oddities with the Postman UI that lead to unexpected "Signature for this request is not valid." errors when manually setting the "type=" value manually in the URL entry field:
As you can see above, the "type" parameter will be pushed to the bottom of the Params list, leading to the signature not being calculated correctly. This is because Postman does not send the parameters in order of the URL entry box, but in order of the Params list.