You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`url` | `string` | `http://compass.production.com/v1beta1/asset` | URL to the http server, contains all the info needed to make the request, like port and route | *required*|
23
-
| `method` | `string` | `POST` | the method string of by which the request is to be made, e.g. POST/PATCH/GET | *required* |
24
-
| `success_code` | `integer` | `200` | to identify the expected success code the http server returns, defult is `200` | *optional* |
25
-
| `headers` | `map` | `"Content-Type": "application/json"` | to add any header/headers that may be required for making the request | *optional* |
| `url` | `string` | `https://compass.requestcatcher.com/v1beta2/asset/{{ .Type }}/{{ .Urn }}` | URL to the http server, contains all the info needed to make the request, like port and route, support go [text/template](https://pkg.go.dev/text/template) (see the properties in [v1beta2.Asset](https://github.com/goto/meteor/blob/main/models/gotocompany/assets/v1beta2/asset.pb.go#L25-L68)) | _required_ |
33
+
| `method` | `string` | `POST` | the method string of by which the request is to be made, e.g. POST/PATCH/GET | _required_ |
34
+
| `success_code` | `integer` | `200` | to identify the expected success code the http server returns, defult is `200` | _optional_ |
35
+
| `headers` | `map` | `"Content-Type": "application/json"` | to add any header/headers that may be required for making the request | _optional_ |
36
+
| `script` | `Object` | see [Script](#Script) | Script for building custom payload | \*optional |
0 commit comments