Update gpc-json.yaml

patch-1
Ritik Chaddha 2022-12-22 10:50:30 +05:30 committed by GitHub
parent e9407f577a
commit 1d3d1ad76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 15 deletions

View File

@ -17,13 +17,11 @@ requests:
- "{{RootURL}}/gpc.json" - "{{RootURL}}/gpc.json"
stop-at-first-match: true stop-at-first-match: true
host-redirects: true
max-redirects: 2
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: word
words: words:
- "gpc" - '"gpc"'
- type: status - type: status
status: status:
@ -34,18 +32,6 @@ requests:
- "len(body) <= 1024 && len(body) > 0" - "len(body) <= 1024 && len(body) > 0"
extractors: extractors:
- type: json
part: body
name: gpc-value
json:
- ".gpc"
- type: json
part: body
name: gpc-last-update
json:
- ".lastUpdate?"
- type: json - type: json
part: body part: body
name: gpc-version name: gpc-version