view include/core/http.h @ 107:49c8d1976869

themes/dark: make QMenuBar and QMenu look better this is what Sublime Text does, and I prefer it to having that ugly blue color
author Paper <mrpapersonic@gmail.com>
date Sun, 05 Nov 2023 17:44:49 -0500
parents f5940a575d83
children 2f5a9247e501
line wrap: on
line source

#ifndef __core__http_h
#define __core__http_h

#include <QByteArray>
#include <string>
#include <vector>

namespace HTTP {

QByteArray Get(const std::string& url, const std::vector<std::string>& headers = {});
QByteArray Post(const std::string& url, const std::string& data, const std::vector<std::string>& headers = {});

} // namespace HTTP

#endif // __core__http_h