I’ve testing to sync child sites via MainWP REST API with this endpoint “/wp-json/mainwp/v2/sites/sync/” but it return with this result instead of the JSON response as in the document. And the sites doesn’t sync after request this API endpoint too.
Could you please help to suggest and fix this issue? I’d like to use REST API to sync child sites which around 1000 sites to manage, it would be easier if I can use API to sync sites instead click sync in the MainWP dashboard which very consuming time and slow.
I’ve already figured out why the response return like HTML, because this site still disabled “REST API” so after I’ve tried to save the Permalink of this site again, it works now with the sync API.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.