~chimo/acurite-api

Small PHP app to return or save JSON data.
README: Newlines
README: link to acurite-client project
Update README

refs

main
browse  log 

clone

read-only
https://git.srht.chromic.org/~chimo/acurite-api
read/write
git@git.srht.chromic.org:~chimo/acurite-api

You can also use your local clone with git send-email.

#acurite

This is a simple PHP script with a GET and POST endpoint.

The POST endpoint will ingest a JSON payload and save it to a file.
The GET endpoint will return the contents of the file.

Both endpoints expect a "Secret" HTTP header.

It's meant to be used with ~chimo/acurite-client.

There is an Alpine Linux package for it at ~chimo/apkbuilds/acurite.