From 536e639cd3e291b692e1900d0770223de4743ddb Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 27 Oct 2018 12:09:05 +0200 Subject: [PATCH] ++ quoting --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index b8f5f61..da9ba1e 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ Register a new app. Returns an app ID. Request JSON object: +``` { version: "1", appuuid: "your-app-uuid", @@ -94,6 +95,7 @@ Request JSON object: username: "user this app belongs to", appname: "name of your web app" } +``` Response JSON object: @@ -119,11 +121,13 @@ List all registered apps for the current user. Request JSON object: +``` { version: "1", appuuid: "your-app-uuid", token: "current time based token" } +``` Response JSON object: @@ -198,6 +202,7 @@ Fields: django.db.backends.postgresql django.contrib.admin +``` DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', @@ -208,3 +213,4 @@ DATABASES = { 'PORT': '5432', } } +```