Unexpected grunt-http error when posting to Atlassian Confluence api
问题 Attempting to create a wiki page on an Atlassian wiki. I previously was using a python script and this code worked no problem: data = json.dumps({"type":"page", "data":"testData", "title":postTitle,"space":{"key":"EB"}, "body":{"storage":{"value": content,"representation":"storage"}}}) r = requests.post("https://estech.atlassian.net/wiki/rest/api/content/", data=data, headers=headers, auth=(confluenceLogin['username'], confluenceLogin['password'])) Now I'm trying to use the following grunt