2024-07-10 19:48:50

So what did I learn in new job land today? More “How to use a mouse” tricks? Or “How not to create symlinks?”

No. I learned that, in the website programming language I’ve used for, like, 14 years, request or POST variables are only populated for requests with certain Content-Type’s.

If you POST an API request with JSON content to plain PHP, you won’t get ANYTHING in the $_POST superglobal.

How have I not found this before? Have I just been spoilt by frameworks?