Skip to content

Instantly share code, notes, and snippets.

@DaltonWebDev
Last active September 13, 2018 06:50
Show Gist options
  • Save DaltonWebDev/366255f8675cb6063144052f76566136 to your computer and use it in GitHub Desktop.
Save DaltonWebDev/366255f8675cb6063144052f76566136 to your computer and use it in GitHub Desktop.

Intro

Simple Site is a service for sharing code/hosting single-page static web applications.

Create Site

API Endpoint: https://ss.dewdd.com/api.php [POST]

Parameters: action, code

action = create

Output: error will be false if site created successfully. data will contain your site id and key.. both of these are required to make edits to your site

View Site

API Endpoint: https://ss.dewdd.com/api.php [POST]

Parameters: action, id

action = view

Output: error will be false if no errors occur. data will contain site creation or last edit time and the code.

Edit Site

API Endpoint: https://ss.dewdd.com/api.php [POST]

parameters: action, id, key, code

action = edit

Output: error will be false if status edited successfully

View Site

go to https://ss.dewdd.com/site_id

Example: https://ss.dewdd.com/030f043247debd1b475a66b86d455a65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment