Small PHP app to return or save JSON data.

915c8d3 README: Newlines

~chimo pushed to ~chimo/acurite git

3 months ago

05b27f6 README: link to acurite-client project

~chimo pushed to ~chimo/acurite git

3 months ago


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.