Can you create a website in under 5 minutes using the SoNET Web Engine API?

 


API fast start - Use your browsers address bar (GET).

1. Register.
http://store.iradek.com/Client/Register


NOTE: Simply use http://127.0.0.1 for a Callback URL and Browser for your application type

2. Click your application "Name" to view your Client App ID and Client App Secret.

3. Generate a security token with this HTTP GET:
http://www.lpk7.com/mvc/oauth?client_id=YOURCLIENTID&scope=Api.Access&redirect_uri=http%3A%2F%2F127.0.0.1&response_type=token

4. Copy the token you generated from the returned string.
NOTE: look for this in the address bar " #token_type=bearer&access_token=THISISTHETOKENYOUGENERATED "

API fast start - Use your browsers Developer Tools (POST).

5a. Use this HTTP POST to generate your first site:
http://www.lpk7.com/api/SiteObjects/CreateSite?siteName=TYPEANAME&templateName=1024px&isEntireSitePublic=true&requiresRegistration=false&adminUserName=
TYPEAUSERNAME&[email protected]&adminPassword=TYPEASITEPASSWORD

5b. Add this request header to the post (the spaces are needed):
Authorization: Bearer PASTETHETOKENYOUGENERATEDHERE

 

The API itself is documented here: SoNET Web Engine API


Congrats! you just made a website, now visit LPK7.com and sort by " Recently Created" to see it and login. Now that you see how easy the API makes things, go ahead and make your own applications. Your imagination is the limit.