Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency in Documentation for Multiple Parameters #1

Open
NathanielWroblewski opened this issue Mar 11, 2014 · 1 comment
Open

Comments

@NathanielWroblewski
Copy link
Contributor

Docs for retrieve batch transactions says txHashes[]=a&txHashes[]=b&txHashes[]=c, but the example indicates an unbracketed version:

curl https://testnet.helloblock.io/v1/transactions?txHashes=6f9e9570881e781db8c137c84c111a138e4a022e6b2def5e2a1589a802fe25f3&txHashes=770e6e4c66fc61fb523e5aefe11780b26c8473638e7065ca726a6492ab7f6345&txHashes=47bf46f92384002dc008696dac3437a2ca4a2696c21a3f6d1d789513e7b9a3f0

API does not accepted the bracketed version, as I have discovered using Faraday.

@scottlingran
Copy link
Member

@NathanielWroblewski, fixed the inconsistency in docs. Could you provide a url example where API doesn't accept bracked version?

e.g. this seems to work
http://testnet.helloblock.io/v1/transactions?txHashes[]=2e07fc821c0519f058a08ee49f0b02a24aa75556913a5bdbac38dd649b1fe824&txHashes[]=aacb8fe82b9d6f08ffb543033773b3bfb5f884129d4b2c29f0d16c3c8a848c0e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants