| Language | Accepted header name | Accepted header value |
|---|---|---|
| Ruby | String | String |
| Elixir | String | String |
| Node.js | String | String |
| Python | String | String |
| Go | String | String, String slice |
| Java | String | String, String array |
| PHP | String | String, String array |

Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Language | Accepted header name | Accepted header value |
|---|---|---|
| Ruby | String | String |
| Elixir | String | String |
| Node.js | String | String |
| Python | String | String |
| Go | String | String, String slice |
| Java | String | String, String array |
| PHP | String | String, String array |
# Call `add_headers` multiple times to set more headers
Appsignal.add_headers("REQUEST_METHOD" => "GET", "REQUEST_PATH" => "/some-path")
Appsignal.add_headers("PATH_INFO" => "/a-path")
Appsignal.add_headers("PATH_INFO" => "/some-path")
# Headers:
# {
# "REQUEST_METHOD" => "GET",
# "REQUEST_PATH" => "/some-path",
# "PATH_INFO" => "/some-path"
# }

Was this page helpful?