2022-07-25 06:05:11 +00:00
|
|
|
id: api-abstract-image-processing
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Abstract Api Image Processing Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
|
|
|
description: Manage your images programmatically with this powerful API compress, convert, crop, resize, and more.
|
|
|
|
reference:
|
|
|
|
- https://www.abstractapi.com/api/image-processing-optimization-api
|
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-image-processing
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,abstractapi
|
2022-07-25 06:05:11 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-25 06:05:11 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST https://images.abstractapi.com/v1/url/ HTTP/1.1
|
|
|
|
Host: images.abstractapi.com
|
|
|
|
Content-Type: application/json
|
|
|
|
Accept: application/json
|
|
|
|
|
|
|
|
{"api_key": "{{token}}", "lossy": true, "url": "https://s3.amazonaws.com/static.abstractapi.com/test-images/dog.jpg"}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"original_size":'
|
|
|
|
- '"original_height":'
|
|
|
|
- '"original_width":'
|
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100bce21626b0148733684cdc0d6c67014c141c37ec66367e204b75af99cd447d3302203470f8e31c59957cc63f31a45fd786871ba62cd71fb5a9eb33c046ba6f2fbc9f:922c64590222798bb761d5b6d8e72950
|