mirror of
https://github.com/glanceapp/glance.git
synced 2026-08-31 08:07:58 +02:00
Document withAllowInsecure
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user