askmike / bitstamp

Bitstamp REST API wrapper
81 stars 54 forks source link

GET to invalid path when no parameters #22

Closed dutu closed 9 years ago

dutu commented 9 years ago

when args is empty GET path should not contain ? https://github.com/askmike/bitstamp/blob/master/bitstamp.js#L98

This is not a functionality issue, however it is not in line with official API documentation. Example for ticker it should be https://www.bitstamp.net/api/ticker/ rather then https://www.bitstamp.net/api/ticker/?

The issue leads to confusion for example when module is included in mock API tests