id: api-api2convert info: name: Api2Convert API Test author: daffainfo severity: info description: Online File Conversion API reference: - https://www.api2convert.com/docs/index.html - https://github.com/daffainfo/all-about-apikey/tree/main/api2convert metadata: max-request: 1 tags: token-spray,api2convert self-contained: true http: - raw: - | POST https://api.api2convert.com/v2/jobs HTTP/1.1 Host: api.api2convert.com X-Oc-Api-Key: {{token}} Content-Type: application/json { "input": [{ "type": "remote", "source": "https://example-files.online-convert.com/raster%20image/jpg/example_small.jpg" }], "conversion": [{ "target": "png" }] } matchers: - type: word part: body words: - '"id"' - '"token"' - '"type"' condition: and # digest: 4b0a00483046022100ad6fcfc4c3f8ae88a73430167ac9af70a074277ed29ea41313921acc8f12aa62022100b84cc947d12787d907d869c110821565537722e25f4b5f083fd400bbd1d0ce3e:922c64590222798bb761d5b6d8e72950