SyntaxFix
Write A Post
Hire A Developer
Questions
from flask import request request.headers.get('your-header-name')
request.headers behaves like a dictionary, so you can also get your header like you would with any dictionary:
request.headers
request.headers['your-header-name']