From a5d74b6a5c5121d69d57536dd842ebb4cd200535 Mon Sep 17 00:00:00 2001 From: Muhammad Daffa <36522826+daffainfo@users.noreply.github.com> Date: Wed, 1 Dec 2021 23:08:48 +0700 Subject: [PATCH 1/2] Create api-orbintelligence.yaml --- token-spray/api-orbintelligence.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 token-spray/api-orbintelligence.yaml diff --git a/token-spray/api-orbintelligence.yaml b/token-spray/api-orbintelligence.yaml new file mode 100644 index 0000000000..de9655a29c --- /dev/null +++ b/token-spray/api-orbintelligence.yaml @@ -0,0 +1,27 @@ +id: api-orbintelligence + +info: + name: ORB Intelligence API Test + author: daffainfo + severity: info + reference: + - https://api.orb-intelligence.com/docs/ + - https://github.com/daffainfo/all-about-apikey/blob/main/Business/ORB%20Intelligence.md + tags: token-spray,orbintelligence + +self-contained: true +requests: + - raw: + - | + GET https://api.orb-intelligence.com/3/fetch/1/?api_key={{token}} HTTP/1.1 + Host: api.orb-intelligence.com + Accept: application/json + + matchers: + - type: word + part: body + words: + - '"entity_type":' + - '"company_status":' + - '"orb_num":' + condition: and From 33263e58c37f7bd712a5878003d5f7f2362a9738 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Wed, 1 Dec 2021 22:55:46 +0530 Subject: [PATCH 2/2] Update api-orbintelligence.yaml --- token-spray/api-orbintelligence.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/token-spray/api-orbintelligence.yaml b/token-spray/api-orbintelligence.yaml index de9655a29c..056bf8608f 100644 --- a/token-spray/api-orbintelligence.yaml +++ b/token-spray/api-orbintelligence.yaml @@ -11,11 +11,9 @@ info: self-contained: true requests: - - raw: - - | - GET https://api.orb-intelligence.com/3/fetch/1/?api_key={{token}} HTTP/1.1 - Host: api.orb-intelligence.com - Accept: application/json + - method: GET + path: + - "https://api.orb-intelligence.com/3/fetch/1/?api_key={{token}}" matchers: - type: word