Thanks for reply,
Here the some changes i made
Qt Code:
  1. void AppApi::replyFinished(QNetworkReply* reply)
  2. {
  3. qDebug() << "replyFinished" << reply;
  4. reply->deleteLater();
  5. }
To copy to clipboard, switch view to plain text mode 
Here the UserApi class:
Qt Code:
  1. #include "../appapi.h"
  2.  
  3. class UserApi : public AppApi
  4. {
  5. public:
  6. UserApi();
  7. void sendMessage();
  8. };
To copy to clipboard, switch view to plain text mode 
Qt Code:
  1. #include "userapi.h"
  2.  
  3. UserApi::UserApi()
  4. {
  5. }
  6.  
  7. QString UserApi::sendMessage()
  8. {
  9. // Processing content, etc
  10. AppApi api;
  11. api.makeRequest();
  12. }
To copy to clipboard, switch view to plain text mode 
Somewhere in code
Qt Code:
  1. UserApi *c = new UserApi;
  2. c->sendMessage();
To copy to clipboard, switch view to plain text mode 
Raises Segmentation fault.
I know it's a lame code, but after 2 years of Python i forgot even a basics of C++ and it's my first project in Qt.

Can you explain how properly i make request from UserApi (for example) and return response.

Best regards