Skip to content

Commit a493259

Browse files
committed
Adding usage of content-type header in one of http examples
Signed-off-by: Francisco Javier Tirado Sarti <ftirados@redhat.com>
1 parent a5bafdd commit a493259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/call-http-endpoint-interpolation.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ do:
77
- getPet:
88
call: http
99
with:
10+
headers:
11+
content-type: application/json
1012
method: get
1113
endpoint: ${ "https://petstore.swagger.io/v2/pet/\(.petId)" }

0 commit comments

Comments
 (0)