Собственно вот ошибка из за которой все проблемы
QObject::connect: Cannot connect (null)::aboutToQuit() to QNativeWifiEngine::closeHandle()
а вот сам код метода
void Autor(QByteArray email, QByteArray password){
QUrl url("http://example.ru:6969/api/oauth/login/");
QNetworkAccessManager autorizate;
QNetworkRequest request(url);
request.setHeader(QNetworkRequest::ContentTypeHeader,"application/json");
QByteArray json = "{\"email\": \""+ email+ "\", \"password\": \""+password+"\"}";
qDebug()<<json;
QNetworkReply* reply = autorizate.post(request,json);
QObject::connect( reply, &QNetworkReply::finished, [reply]{
QByteArray data = reply->readAll();
qDebug()<<data;
});
}