-
|
Hi guys, I am sorry for asking a lot. I have a new problem, when I tried to get the request headers as a response using the sample stubs below: I got an error: I tried to change it with Can you guys help me give the correct syntax to get the request headers value if the name contains "-" (e.g.: client-id)? Thank you in advanced. |
Beta Was this translation helpful? Give feedback.
Answered by
rez1dent3
Aug 20, 2025
Replies: 1 comment
-
|
Hello - "clientSystemId": "{{.Headers.client-id}}"
+ "clientSystemId": "{{index .Headers \"client-id\"}}" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
danieljph
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello