Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Fat Free では、route または reroute を使用するだけで GET リクエストをトリガーできます。しかし、GET メソッドが安全でなく、パラメーターの送信に適していない状況が数多くあります。URL への POST リクエストをトリガーし、POST を介してパラメーターを送信するにはどうすればよいですか?
をご覧くださいmock()。私はそれがあなたが探しているものだと思います。
mock()
https://github.com/bcosca/fatfree#mocking-http-requests