29 lines
562 B
YAML
29 lines
562 B
YAML
id: api-linkedin
|
|
|
|
info:
|
|
name: LinkedIn API Test
|
|
author: dwisiswant0
|
|
severity: info
|
|
reference:
|
|
- https://docs.microsoft.com/en-us/linkedin/compliance/
|
|
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 |