Skip to content

Commit

Permalink
Updated for unstructured data
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Feb 22, 2017
1 parent 9be41e9 commit 701eb54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -54,6 +54,7 @@ This is a single file application! Upload "api.php" somewhere and enjoy!
- Atomic increment support via PATCH (for counters)
- Binary fields supported with base64 encoding
- Spatial/GIS fields and filters supported with WKT
- Unstructured data support through JSON/JSONB/XML
- Generate API documentation using Swagger tools
- Authentication via JWT token or username/password (via [PHP-API-AUTH](https://github.com/mevdschee/php-api-auth))

Expand Down Expand Up @@ -734,6 +735,10 @@ PUT http://localhost/api.php/users/1

In the above example you see how a [WKT string](https://en.wikipedia.org/wiki/Well-known_text) is sent.

## Unstructured data support

You may store JSON documents in JSON (MySQL), JSONB (PostgreSQL) or XML (SQL Server) field types in the database.
These documents have no schema. Whitespace in the structure is not maintained.

## Sending NULL

Expand Down

0 comments on commit 701eb54

Please sign in to comment.