def testService(name, verb, url, header=None, requestBody=''):
    if header is None:
        header = {}
for key, value in header.items():
    pass
add_header expecting 3 arguments instead of just key/value