Commit 6908970c authored by Björn Eyselein's avatar Björn Eyselein
Browse files

Delete old py-Skript

parent 20d9c163
from urllib import request, parse
import json
course = {
"id": 1, "shortName": "prop_french_1", "title": "Propädeutikum Französisch 1"
}
url = 'http://localhost:9090/api/courses'
req = request.Request(url, data=json.dumps(course).encode("utf-8"))
resp = request.urlopen(req)
print(resp.read())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment