plausible / docs

Documentation for Plausible Analytics
https://plausible.io/docs
Creative Commons Attribution Share Alike 4.0 International
214 stars 194 forks source link

Clarify request types in cloudfront proxy documentation #447

Open joyceyan opened 10 months ago

joyceyan commented 10 months ago

I just wanted to clarify what types of requests to /js/script.js and /api/event would result in successful responses. I spent a lot of time wondering why a GET request to /api/event would 404 instead of returning a 202. Sending a POST request via curl seems to be fine, and the API docs seem to indicate there isn't a GET request for /api/event so it doesn't seem like it's a problem for that to 404.