Skip to content

Instantly share code, notes, and snippets.

View zacknawrocki's full-sized avatar
😀

Zachary Nawrocki zacknawrocki

😀
View GitHub Profile
// Adding meeting section
var data0 = {"id":id, "title":title, "start_time":start_time, "end_time":end_time, "userlist":userlist};
var data = JSON.stringify(data0);
$.ajax({
type:"POST",
url:'http://............',
data:data,
dataType: "text",
contentType: "application/json; charset=UTF-8",
@zacknawrocki
zacknawrocki / coordinator.py
Created August 24, 2019 20:53
CherryPy CORS issue
import cherrypy
import ConfigParser
import time
import json
from cherrypy.lib import static
import os
import cherrypy_cors
class Coordinator(object):