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

How to set request url not encode some characters in RestApiClient.SendToAddress? #224

Open
Tendx opened this issue Dec 17, 2024 · 0 comments

Comments

@Tendx
Copy link

Tendx commented Dec 17, 2024

You know I extended some Portofilio Margin Api in Binance.Net, and I found that some valid characters in client order id would be encoded in url, and then it would be rejected by regex checking of exchange.
For example, a colon ':' is valid in pm client order id regex ^[\.A-Z\:/a-z0-9_-]{1,32}$, but it would be encoded as %3A in request url if I use RestApiClient.SendToAddress. Then, exchange reject the order. I've contracted their tech support, and they told me not encode it.
However, it could be accepted in dapi and fapi, even if it was encoded.

So my question is:
May I have some options in RestApiClient , or I just avoid using these characters.

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

1 participant