Skip to content

Instantly share code, notes, and snippets.

View r-brown's full-sized avatar
🇩🇪
Happy Licensing!

R.Brown r-brown

🇩🇪
Happy Licensing!
View GitHub Profile
'use strict';
const https = require('https');
const http = require('http');
const $url = require('url');
const querystring = require('querystring');
const CORS_HEADERS = {
'Access-Control-Allow-Methods': 'OPTIONS,POST',
'Access-Control-Allow-Headers': 'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token',