need rendering variables in http request headers
See original GitHub issueif payload.fields
has variables referenced in defaults.headers
, the headers does not get updated.
{
"config": {
"payload": {
"path": "./person.csv",
"fields": [
"firstName",
"lastName"
],
},
"defaults": {
"headers": {
"Content-Type": "application/json",
"Accept": "application/json",
"x-full-name": "{{ firstName }} {{ lastName }}" /* <--- does not get updated */
}
}
}
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:11 (2 by maintainers)
Top Results From Across the Web
HTTP headers - MDN Web Docs - Mozilla
Request headers contain more information about the resource to be fetched, or about the client requesting the resource. Response headers hold ...
Read more >Setting HTTP request headers and IIS server variables
This walkthrough will guide you through how to use URL Rewrite Module v 2.0 to set HTTP request headers and IIS server variables....
Read more >Can I pass custom data in the HTTP header? - Stack Overflow
I want to augment each of these web methods with an extra optional parameter (Int64 or Int32) but adding new methods with this...
Read more >HTTP/1.1: Header Field Definitions
The Accept request-header field can be used to specify certain media types which are acceptable for the response. Accept headers can be used...
Read more >HTTP Headers for Static Sites - Render
Since static sites don't have a server-side component that can inject custom HTTP headers in responses, Render lets you define response headers for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did someone find a workaround for this?
I have a similar situation to @lucamartini - i want to retrieve different api keys (set in a header) from a csv file. Any recommendations/workarounds?