api.txt 437 B

12345678910111213141516171819202122232425262728
  1. Example request:
  2. POST http://example.tld/api.php
  3. Content-Type: application/json; charset=utf-8
  4. Accept: application/json
  5. {
  6. "asl": "YOUR-KEY",
  7. "data": "TEXT DATA TO BE SAVED"
  8. }
  9. Example response (success):
  10. Content-Type: application/json
  11. {
  12. "message": "http://example.tld/2022/03/26/DFzn",
  13. "status": 200
  14. }
  15. Example response (failure):
  16. Content-Type: application/json
  17. {
  18. "message": "Something went wrong. HASHCODE",
  19. "status": 500
  20. }