Add LinkedIn API test
parent
0dd3b87aeb
commit
393034a494
|
@ -0,0 +1,26 @@
|
||||||
|
id: api-linkedin
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: LinkedIn API Test
|
||||||
|
author: dwisiswant0
|
||||||
|
reference: https://docs.microsoft.com/en-us/linkedin/compliance/
|
||||||
|
severity: info
|
||||||
|
tags: token-spray,linkedin
|
||||||
|
|
||||||
|
self-contained: true
|
||||||
|
requests:
|
||||||
|
- 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
|
||||||
|
negative: true
|
||||||
|
words:
|
||||||
|
- "serviceErrorCode"
|
Loading…
Reference in New Issue