2022-06-18 03:54:41 +00:00
|
|
|
id: api-gorest
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Gorest API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Online REST API for Testing and Prototyping
|
2022-06-18 03:54:41 +00:00
|
|
|
reference:
|
|
|
|
- https://gorest.co.in/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/gorest
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,gorest
|
2022-06-18 03:54:41 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-18 03:54:41 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
2022-06-21 06:46:40 +00:00
|
|
|
GET https://gorest.co.in/public/v2/users HTTP/1.1
|
2022-06-18 03:54:41 +00:00
|
|
|
Host: gorest.co.in
|
|
|
|
Content-Type: application/json
|
|
|
|
Authorization: Bearer {{token}}
|
|
|
|
|
2022-06-21 06:46:40 +00:00
|
|
|
{"name":"Tenali Ramakrishna", "gender":"male", "email":"tenali.rdamakrishna@15ce.com", "status":"active"}
|
|
|
|
|
2022-06-18 03:54:41 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
2022-06-21 06:46:40 +00:00
|
|
|
- 201
|
2022-06-18 03:54:41 +00:00
|
|
|
|
|
|
|
- type: word
|
2022-06-21 06:46:40 +00:00
|
|
|
part: body
|
2022-06-18 03:54:41 +00:00
|
|
|
words:
|
2022-06-21 06:46:40 +00:00
|
|
|
- '"name"'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022040eda067fe56f4bacd7b6a7473cca2316a8716dbfb4c203a54abcb9594345e7d022001099a015686ece5d2d4fe1c587b09407c5c453732b04bb07a4b50aae452e49f:922c64590222798bb761d5b6d8e72950
|