mirror of
https://github.com/reconurge/flowsint.git
synced 2026-07-16 00:52:35 -05:00
24 lines
403 B
YAML
24 lines
403 B
YAML
name: api-with-secrets
|
|
category: Ip
|
|
version: 1.0
|
|
input:
|
|
type: Ip
|
|
key: address
|
|
secrets:
|
|
- name: API_KEY
|
|
required: true
|
|
description: API key for the service
|
|
request:
|
|
method: GET
|
|
url: https://api.example.com/lookup/{{address}}
|
|
headers:
|
|
Authorization: "Bearer {{secrets.API_KEY}}"
|
|
timeout: 30
|
|
output:
|
|
type: Ip
|
|
response:
|
|
expect: json
|
|
map:
|
|
address: ip
|
|
country: country
|