You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using C++to create a video engine, and I can use the OATPP framework to receive external requests and execute corresponding methods. But now I hope to send a post request to the backend at the specified address when executing some of my methods. I tried to encapsulate a class but it doesn't seem to work. Can you help me solve my problem? Thank you very much!
``
class RequestHandler {
public:
RequestHandler() {}
my error:
zhaozimo@zhaozimodeMacBook-Pro test % sh livePlatform_test_request.sh
server=oatpp/1.3.0
code=500
description=Internal Server Error
message=[oatpp::web::client::HttpRequestExecutor::executeOnce()]: Connection is null
The text was updated successfully, but these errors were encountered:
I am currently using C++to create a video engine, and I can use the OATPP framework to receive external requests and execute corresponding methods. But now I hope to send a post request to the backend at the specified address when executing some of my methods. I tried to encapsulate a class but it doesn't seem to work. Can you help me solve my problem? Thank you very much!
``
class RequestHandler {
public:
RequestHandler() {}
private:
std::shared_ptroatpp::network::tcp::client::ConnectionProvider _connectionProvider;
std::shared_ptroatpp::web::client::HttpRequestExecutor _requestExecutor;
};
``
my error:
zhaozimo@zhaozimodeMacBook-Pro test % sh livePlatform_test_request.sh
server=oatpp/1.3.0
code=500
description=Internal Server Error
message=[oatpp::web::client::HttpRequestExecutor::executeOnce()]: Connection is null
The text was updated successfully, but these errors were encountered: