問題タブ [codeigniter-restserver]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - $this->input->post() は、codeigniter REST API 実装で NULL を返します
ファイル RestClient.php の行 $uname = $this->input->post('username') および $pwd = $this->input->post('password') は NULL を返します。
これは私の(ビュー)loginform.phpです
これは私の RestServer API コントローラーです - LoginFormApi.php
これは、cURL を使用したクライアント リクエスト コントローラーです。RestClient.php 行 $uname = $this->input->post('username') および $pwd = $this->input->post('password') は NULL を返します。
}