27 lines
627 B
YAML
27 lines
627 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
|
|
tags: token-spray,opengraphr
|
|
|
|
self-contained: true
|
|
requests:
|
|
- 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
|