Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

ASSET_INFO_API_BASE_URL, 加上www可好? #125

Closed
gMan1990 opened this issue May 2, 2018 · 0 comments
Closed

ASSET_INFO_API_BASE_URL, 加上www可好? #125

gMan1990 opened this issue May 2, 2018 · 0 comments

Comments

@gMan1990
Copy link

gMan1990 commented May 2, 2018

public static final String ASSET_INFO_API_BASE_URL = "https://binance.com/";

使用okhttp日志可以看到

--> GET https://binance.com/assetWithdraw/getAllAsset.html
--> END GET
<-- 200 OK https://www.binance.com/assetWithdraw/getAllAsset.html (10862ms)
curl 'https://binance.com/assetWithdraw/getAllAsset.html' -v

curl是一个301,所以加上www是否严谨点?

mcourteaux added a commit to mcourteaux/binance-java-api that referenced this issue Jul 24, 2018
…java-api

* 'master' of https://github.com/binance-exchange/binance-java-api: (45 commits)
  binance api change 2018-07-18: updated javadoc to reflect the new limits for max results o
  binance api change 2018-07-18: added param cummulativeQuoteQty to the order response
  Issue 157: Exception when getting all trades of a symbol
  ignore properties add for avoiding new fields deserialization exception
  Add support for ICEBERG_PARTS and MAX_NUM_ALGO_ORDERS filter.
  Cannot deserialize value of type `com.binance.api.client.domain.general.RateLimitType` from String "REQUEST_WEIGHT": value not one of declared Enum instance names: [REQUESTS, ORDERS]
  Fix binance-exchange#127 Remove meta header.
  Fix binance-exchange#125: Avoid 301 redirect for asset info API.
  withdrawal status added, conflicts resolved
  Demonstrate use of newOrderRespType in README.md
  Add NewOrderResponse#origQty
  Parse both 'id' and 'tradeId' into Trade#id to deal with inconsistent API models on Binance
  Demonstrate use of newOrderRespType in OrdersExample
  Add support for newOrderRespType (v3 API)
  Route exceptions via onFailure callback rather than throwing them
  Fixes binance-exchange#103: Add support for fetching all assets.
  Expose getAllAssets JSON call
  Add support for AllAssets
  Add reconnect & close logic
  Better docs / comments
  ...
mcourteaux added a commit to mcourteaux/binance-java-api that referenced this issue Jul 24, 2018
* master: (39 commits)
  binance api change 2018-07-18: updated javadoc to reflect the new limits for max results o
  binance api change 2018-07-18: added param cummulativeQuoteQty to the order response
  Issue 157: Exception when getting all trades of a symbol
  ignore properties add for avoiding new fields deserialization exception
  Add support for ICEBERG_PARTS and MAX_NUM_ALGO_ORDERS filter.
  Cannot deserialize value of type `com.binance.api.client.domain.general.RateLimitType` from String "REQUEST_WEIGHT": value not one of declared Enum instance names: [REQUESTS, ORDERS]
  Fix binance-exchange#127 Remove meta header.
  Fix binance-exchange#125: Avoid 301 redirect for asset info API.
  withdrawal status added, conflicts resolved
  Demonstrate use of newOrderRespType in README.md
  Add NewOrderResponse#origQty
  Parse both 'id' and 'tradeId' into Trade#id to deal with inconsistent API models on Binance
  Demonstrate use of newOrderRespType in OrdersExample
  Add support for newOrderRespType (v3 API)
  Route exceptions via onFailure callback rather than throwing them
  Fixes binance-exchange#103: Add support for fetching all assets.
  Expose getAllAssets JSON call
  Add support for AllAssets
  Add reconnect & close logic
  Better docs / comments
  ...
nilswx pushed a commit to nilswx/binance-java-api that referenced this issue Dec 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant