msg.do

API

The API will use POST method, pay atention, because for security reasons the API response always will be "success"

Save a new message

For saving a new message we will send to msg.do 2 params. action and message, in this case action will be 's' (Save)

base url: https://msg.do/runapi

Post params:
action=s
message=your private message

it will response a Json with unique_string and private key

Decrypt and read a message

We need to send to msg.do 3 params. action, unique_string and key. In this case action will be 'r' (Read)

base url: https://msg.do/runapi

Post params:
action=r
unique_string=UNIQUE_STRING from message save json response
key=KEY from message save json response

If the key and unique_string are valid we will response a Json with SUCCESS response and the cipertext decrypted message. If the key or unique_string are not valid, the response also will be success. why?

Why always success?

For security reasons if we receive http petitions and we show errors, we can suffer attacks related to VALID or NOT valid keys. If we response with SUCCESS, we prevent this kind of attacks. Obviously if the key or unique_string are not the correct, the message in the JSON response will be a random encrypted string.
Made in Python under secure encryption by @eventises | how it works | API