• Hello there,

    I am trying to get WooCommerce API up and running and I have already checked all the most common pitfalls (permalinks, permissions…) only to keep getting a 404 when trying to access the API:

    $ curl -u ck_0ee40164d3bdd847f2bf2abcf62f8ccc6cae5e10:cs_c2779c022fbc95df4923ccc8f1c544d4b6066f42 http://woocommerce/wp-json/wc/v1/orders
    
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /wp-json/wc/v1/orders was not found on this server.</p>
    <hr>
    <address>Apache/2.4.18 (Ubuntu) Server at woocommerce Port 80</address>
    </body></html>
    

    So I will try once again from scratch, posting the context after each step to this thread to try to spot the cause, perhaps with help from some more experienced users… 🙂

    The initial context of the installation is:

    • Ubuntu Server 16.04
    • PHP 7.0.28-0ubuntu0.16.04.1
    • Apache 2.2
    • MySQL 5.7
    • WordPress 4.9.6
    • WooCommerce 3.4.0

    The steps I perform is basically download the packages and unzip them in:

    /var/www/html/wordpress

    And, after installing WordPress correctly (5 minute installation version), I install WooCommerce following this instructions:

    https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation

    To test the installation I follow this instructions:

    https://github.com/woocommerce/woocommerce/wiki/Getting-started-with-the-REST-API

    First question: what ways are there to verify everything was correctly done up to this point?

    Thanks in advance for your time!

    F

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Get WooCommerce API up and running’ is closed to new replies.