REST API cannot create Listings
-
Hi, the REST API works in creating “tags” but failed in creating “listings” with the following error:
curl --request POST --user admin:password https://www.example.com/wp-json/directorist/v1/listings -d "name=my_new_listing" {"code":"invalid-method","message":"Method 'WP_REST_Controller::create_item' not implemented. Must be overridden in subclass.","data":{"status":405}}Thanks very much for your help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘REST API cannot create Listings’ is closed to new replies.