phpTestApp Start like this: /usr/local/Cellar/[email protected]/7.4.33_4/bin/php -S 127.0.0.1:9000 -t /PATH-TO-APP Test like this: curl --data-urlencode "test=test" "http://127.0.0.1:9000/api" Call that doesn't work: curl http://127.0.0.1:9000/curl