Web connector fetch data from REST API and it supports nested json fields.
In a YAML file, the config
section contains the following properties:
url: URL
username: Username
password: Password
type: HHTP method either GET/POST
headers: Header parameters
params: Query Paramaeter value
data: Data value
version: 1
encrypt_credentials: false
plugins:
extractors:
- name: web
#Json Response only supported
connectorname: Web
config:
url: url
# Basic Authentication
username: username
password: password
type: get
headers: { 'ContentType': 'application/json' }