UNCLASSIFIED

Commit 8d3ad23d authored by Michael Simmons's avatar Michael Simmons
Browse files

Added Content-Type to headers

parent 80cd7649
......@@ -10,7 +10,8 @@ def __getBranches(url, token, id):
HEADER = {
'private_token': token,
'Accept': 'application/json'
'Accept': 'application/json',
'Content-type': 'application/json'
}
page = 1
......@@ -44,7 +45,8 @@ def __getProtectedBranches(url, token, id):
HEADER = {
'private_token': token,
'Accept': 'application/json'
'Accept': 'application/json',
'Content-type': 'application/json'
}
page = 1
......@@ -78,7 +80,8 @@ def __createBranch(url, token, id, name, ref):
HEADER = {
'private_token': token,
'Accept': 'application/json'
'Accept': 'application/json',
'Content-type': 'application/json'
}
PARAMS = {
......@@ -95,7 +98,8 @@ def __createProtectedBranch(url, token, id, access):
HEADER = {
'private_token': token,
'Accept': 'application/json'
'Accept': 'application/json',
'Content-type': 'application/json'
}
PARAMS = {}
......
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