How to force POST hit and how to configure Apache server to use data via POST

Hello,

I’m considering replacing our current Analytics solution (based on Adobe Analytics) with a Matomo On-Prem solution. Before performing a POC of the various features (data collection and analysis, performance, etc.), I need to run some “technical tests.”

So, I installed and configured Matomo on a VM (based on Debian, with Apache and MariaDB) and verified that it worked correctly (by building some very simple HTML pages and inserting your JavaScript snippet).

I currently have two questions:

  1. Is it possible to force the use of the POST method (instead of the traditional GET) to send data from the browser?

  2. I imagine that using POST requires a change to the Apache configuration (for example, by enabling some Apache modules). In fact, as far as I know, data sent via POST is not logged by Apache.
    Can you help me and tell me what this change is?

Thanks in advance.

Alex