REST API
The api is relatively simple (which is how we like it).
Encode
Turn a long url into a shorter one.
- Url: http://mzk.me/short/encode
- Method: POST
- Inputs: url
- Formats: json, xml
-
Examples:
http://mzk.me/short/encode.json
http://mzk.me/short/encode.xml
Decode
Take a permalink and determine the source url.
- Url: http://mzk.me/short/decode
- Method: GET
- Inputs: permalink (url encoded)
- Formats: json, xml
-
Examples:
http://mzk.me/short/decode.json?permalink=http%3A%2F%2Fmzk.me%2Fb
http://mzk.me/short/decode.xml?permalink=http%3A%2F%2Fmzk.me%2Fb
Return Codes
All responses contain a status code.
Error Messages
All responses contain an error message if the status code is equal to ERROR.
Feedback
Let us know if you have any problems, requests, praise, love or respect -- feedback[at]whorde.com.