Document withAllowInsecure

This commit is contained in:
Svilen Markov
2026-08-19 19:04:33 +01:00
parent 96f70f8ea4
commit 20672ee30b
+1 -1
View File
@@ -378,7 +378,7 @@ In some instances, you may need to make two consecutive API calls, where you use
{{ $something.JSON.String "title" }}
```
Here, `$theID` gets retrieved from the result of the first API call and used in the second API call. The `newRequest` function creates a new request, and the `getResponse` function executes it. You can also use `withParameter` and `withHeader` to optionally add parameters and headers to the request.
Here, `$theID` gets retrieved from the result of the first API call and used in the second API call. The `newRequest` function creates a new request, and the `getResponse` function executes it. You can also use `withParameter` and `withHeader` to optionally add parameters and headers to the request, or `withAllowInsecure` to skip TLS certificate verification, e.g. `newRequest "https://self-signed.example.com" | withAllowInsecure true | getResponse`.
If you need to make a request to a URL that requires dynamic parameters, you can omit the `url` property in the YAML and run the request entirely from within the template itself: