Created
December 28, 2022 16:43
-
-
Save wvpv/173192f2e21e0138e04844606fb7437d to your computer and use it in GitHub Desktop.
Short.io Postman Collection Export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "7526dd49-78b6-4589-a640-fe7b879ef751", | |
"name": "Short.io", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "407776" | |
}, | |
"item": [ | |
{ | |
"name": "Shorten URL", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "authorization", | |
"value": "YOURAPITOKENHERE", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\r\n \"originalURL\": \"https://YOURDOMAINHERE.com/YOURLONGURLPATHHERE\",\r\n \"domain\": \"YOURSUBDOMAINHERE.YOURDOMAINHERE.com\"\r\n}", | |
"options": { | |
"raw": { | |
"language": "json" | |
} | |
} | |
}, | |
"url": { | |
"raw": "https://api.short.io/links", | |
"protocol": "https", | |
"host": [ | |
"api", | |
"short", | |
"io" | |
], | |
"path": [ | |
"links" | |
] | |
} | |
}, | |
"response": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment