Closed heinhtut95 closed 7 years ago
I finished all the 5 steps already and I added use Woocommerce; and public function index() { return Woocommerce::get('orders'); in PostController.
But its showing the error ike this ,please guide me. Thanks.
HttpClientException in HttpClient.php line 340: Syntax error
Make sure API URL is reachable (ModRewrite + htaccess).
You can also check if your api is working correctly (without authentication) by calling
[your.domain]/wp-json/wc/v2
I finished all the 5 steps already and I added use Woocommerce; and public function index() { return Woocommerce::get('orders'); in PostController.
But its showing the error ike this ,please guide me. Thanks.