From b5e65e051f29e8a4dae002ca008077d835db77d2 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 26 Apr 2016 20:47:46 +0200 Subject: typo --- docs/api/v2/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/api/v2/README.md b/docs/api/v2/README.md index 162b2da10..33e326744 100644 --- a/docs/api/v2/README.md +++ b/docs/api/v2/README.md @@ -1,6 +1,6 @@ # Sync API v2 (Draft) -The **News app** offers a RESTful API which can be used to sync folders, feeds and items. +The **News app** offers a RESTful API which can be used to sync folders, feeds and items. The API also supports [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) which means that you can access the API from your browser using JavaScript. ## API Stability Contract @@ -95,8 +95,6 @@ The response body is a JSON structure that looks like this: } ``` -The API also supports [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) which means that you can access the API from your browser using JavaScript. - ## Security Guidelines Read the following notes carefully to prevent being subject to security exploits: * All string fields in a JSON response unless explicitly noted otherwise are provided in without sanitation. This means that if you do not escape it properly before rendering you will be vulnerable to [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_%28XSS%29) attacks -- cgit v1.2.3