32 lines
850 B
YAML
32 lines
850 B
YAML
id: api-opengraphr
|
|
|
|
info:
|
|
name: OpenGraphr API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Really simple API to retrieve Open Graph data from an URL
|
|
reference:
|
|
- https://opengraphr.com/docs/1.0/overview
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/opengraphr
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,opengraphr
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.opengraphr.com/v1/og?api_token={{token}}&url=https://google.com"
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"title"'
|
|
- '"image"'
|
|
- '"url"'
|
|
condition: and
|
|
|
|
# digest: 4a0a004730450221009a52105506cd5d4aa2903f3e86fb9013b695340758753a1e1d65a85dac5a7ffc02205e5b248c5b1c98ee496e8e2e6da109d745fa76f398d42672062cdfb8820b12eb:922c64590222798bb761d5b6d8e72950
|