POST method not working after updating WordPress
-
I registered a rest route with POST method to call ‘createUser’ function. It’s working before with WordPress version 4.4.1.
After I updated to the latest version of WP 4.4.2, it’s not working now.
Please can you guys help me on this?function register_api(){ register_rest_route( 'api/v1', 'createUser', array( 'methods' => 'POST', 'callback' => 'createUser', ) ); }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘POST method not working after updating WordPress’ is closed to new replies.