From a49325925249f641f6e599b357bc7893854d5228 Mon Sep 17 00:00:00 2001 From: Francisco Javier Tirado Sarti Date: Tue, 29 Oct 2024 12:10:43 +0100 Subject: [PATCH] Adding usage of content-type header in one of http examples Signed-off-by: Francisco Javier Tirado Sarti --- examples/call-http-endpoint-interpolation.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/call-http-endpoint-interpolation.yaml b/examples/call-http-endpoint-interpolation.yaml index 2621d85a..8380a9aa 100644 --- a/examples/call-http-endpoint-interpolation.yaml +++ b/examples/call-http-endpoint-interpolation.yaml @@ -7,5 +7,7 @@ do: - getPet: call: http with: + headers: + content-type: application/json method: get endpoint: ${ "https://petstore.swagger.io/v2/pet/\(.petId)" } \ No newline at end of file