35 lines
788 B
YAML
35 lines
788 B
YAML
id: api-linkedin
|
|
|
|
info:
|
|
name: LinkedIn API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://docs.microsoft.com/en-us/linkedin/compliance/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,linkedin
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.linkedin.com/v2/me?oauth2_access_token={{token}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"id":'
|
|
- '"firstName":'
|
|
- '"localized":'
|
|
condition: and
|
|
|
|
# digest: 490a00463044022061abef6ea83f1f589d62c6c44de3360db61a752fbaf8ab77606aea2873412a570220772047b68b2c8a72ac04e84f44985b6ead56f0d002b7dd5cc684272edd853822:922c64590222798bb761d5b6d8e72950
|