Back shared-headers.http Download
shared-headers.httphttp
### First

< {%
  $kulala.client.global.headers.set("X-Kulala", "Family");
%}

# WARN:
# Jetbrains client.global.headers.set("X-Kulala", "Family");
# Only works for all requests in one flow, not for each request separately.
# One flow is when you run all requests in the file at once.
# INFO:
# Kulala supports client.global.headers.set() with the same limitation,
# but also has $kulala.client.global.headers.set()
# which works for all requests in the same file,
# even if you run them one by one.
# In this example,
# we set the header "X-Kulala" with the value "Family" for all requests in
# the file using $kulala.client.global.headers.set().

GET https://echo.kulala.app/get HTTP/1.1

### Second

GET https://echo.kulala.app/get HTTP/1.1

### Third

GET https://echo.kulala.app/get HTTP/1.1