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

Demo请求报错,能帮忙看下吗? #39

Open
LONGMIAOMIAO opened this issue Jan 17, 2021 · 1 comment
Open

Demo请求报错,能帮忙看下吗? #39

LONGMIAOMIAO opened this issue Jan 17, 2021 · 1 comment

Comments

@LONGMIAOMIAO
Copy link

LONGMIAOMIAO commented Jan 17, 2021

request请求已经做好了,但是好像 rapidjson 这里好像出了点问题!

This is the request: 
https://api.huobi.pro/market/history/kline?symbol=btcusdt&period=1min&size=100
This is the original response from the server: 

marketdemo: /home/yyy/GitPro/huobi_Cpp/include/rapidjson/document.h:1154: rapidjson::GenericValue<Encoding, Allocator>::MemberIterator rapidjson::GenericValue<Encoding, Allocator>::FindMember(const rapidjson::GenericValue<Encoding, SourceAllocator>&) [with SourceAllocator = rapidjson::MemoryPoolAllocator<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::MemberIterator = rapidjson::GenericMemberIterator<false, rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >]: Assertion `IsObject()' failed.
@LONGMIAOMIAO LONGMIAOMIAO changed the title Demo请求报错,能帮忙砍下吗? Demo请求报错,能帮忙看下吗? Feb 18, 2021
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
@LONGMIAOMIAO and others