[email] Fix style issues
This commit is contained in:
parent
1aad0b30e1
commit
bda5e1a133
|
@ -36,11 +36,13 @@ def main():
|
||||||
'text': text,
|
'text': text,
|
||||||
'to': mail['To'].lower(),
|
'to': mail['To'].lower(),
|
||||||
'author': mail['From'].lower(),
|
'author': mail['From'].lower(),
|
||||||
'secret': Email.secret
|
'secret': Email.secret,
|
||||||
}
|
}
|
||||||
|
|
||||||
# POST request mit API-key und JSON-body an /api/email/messages/:
|
# POST request mit API-key und JSON-body an /api/email/messages/:
|
||||||
print("curl "
|
print(
|
||||||
"-X POST http://localhost/api/email/messages/ "
|
"curl "
|
||||||
"-H 'Content-Type: application/json' "
|
"-X POST http://localhost/api/email/messages/ "
|
||||||
"-d " + json.dumps(body))
|
"-H 'Content-Type: application/json' "
|
||||||
|
"-d " + json.dumps(body)
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue