#pragma once
#include <Windows.h>
#include <tchar.h>
#include <string>
#include <cpprest/http_client.h>
using namespace web;
using namespace web::http;
using namespace web::http::client;
class REST_Handler
{
public:
static http_response POST_Request(
const TCHAR* baseURL,
json::value data = json::value::Null);
static std::wstring WaitForStatus(
const TCHAR* baseURL,
std::wstring key,
std::vector<std::wstring> values);
static http_response GET_Request(
const TCHAR* baseURL);
};