Implements an API for proxying requests. It also implements other non generic requests
for http:
usage: ./cors_api.exe [port]
for https:
usage: ./cors_api.exe [port] [certificate_path] [key_path]
use: --debug for enabling localhost
POST /json send request descriptor in the body
{
"method" : "get",
"url" : "https://trends.gab.com/trend-feed/json",
"headers": {:}
}
{
"method" : "get",
"url" : "https://trends.gab.com/trend-feed/json",
"body": {...},
"headers": {:}
}