Skip to main content

HTTP

Supply a HTTP url for an action to use as an input.

name: http-tests
metrics_enabled: true
docs: true

interfaces:
http/basic:
output: http
method: GET

actions:
- name: BasicHTTP
http:
url: https://jsonplaceholder.typicode.com/todos/

Options

NameTypeDescription
urlStringThe url to interact with
userStringbasic authentication user field
passStringbasic authentication password field
headersArrayAccepts an array of headers
bodyObjectdata associated with the request
proxystringProxy url to route requests through
methodstringthe http method
data_type
bearer_authstringauthorization bearer token
accept_invalid_certsboolean
castringcertifcate authority
root_certificatesstringroot certificate
timeoutstringspecify the timeout of a request in ms
connect_timeoutstringconnection timeout of a request in ms
digest_auth_userstring
digest_auth_passstring
multipart_filesarrayOptions:
  • file_name
  • file_path
  • mime_str

HTTP Example

Basic HTTP
loading...