9 lines
203 B
Python
9 lines
203 B
Python
import requests
|
|
from flask import current_app
|
|
|
|
def get_headers():
|
|
return {
|
|
"Authorization": f"Bearer {current_app.config['JWT_SECRET_KEY']}",
|
|
"Content-Type": "application/json"
|
|
}
|