-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi, I wanted to ask that to add multiple Header:Value combinations I am using something like this for header-based authentication. Am I doing something wrong because it is working with the API's which don't require authentication but this EXTRA_HEADERS thing is not working for me. Also there was a mention of one per line. I am not sure how that works. Could you confirm once if this is the right format?
Also I am using Python language so that's why f-string is there
"env": {
"OPENAPI_SPEC_URL": "https://demo.com/openapi.yml",
"EXTRA_HEADERS": f"x-csrf-token:{os.getenv('CSRFTOKEN')},Cookie:{os.getenv('COOKIE')}",
"OPENAPI_SPEC_FORMAT": "yaml"
}
Metadata
Metadata
Assignees
Labels
No labels