Neuinstallation

  • Sorry, das war ein Missverständnis: Ich dachte ich solle explizit auf die interne IP zugreifen.

    So sieht es mit korrekter URL aus:


    # curl -k https://shop.xxx.de/api

    {"errors":[{"code":"0","status":"404","title":"Not Found","detail":"No route found for \u0022GET http


    # curl -k https://shop.xxx.de/store-api.products | more

    % Total % Received % Xferd Average Speed Time Time Time Current

    Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

    <!DOCTYPE html>


    <html lang="de-DE"

    itemscope="itemscope"

    itemtype="https://schema.org/WebPage">

    .

    .

    .

    usw.


    Ich kann mir auch alle Routen anzeigen lassen:


    # sudo -u www-data php bin/console debug:route | more

    ------------------------------------------------------------------- ------------- -------- ------ --------------------------------------------------------

    --------------------------

    Name Method Scheme Host Path


    ------------------------------------------------------------------- ------------- -------- ------ --------------------------------------------------------

    --------------------------

    api.action.access-key.integration GET ANY ANY /api/_action/access-key/intergration


    api.action.access-key.user GET ANY ANY /api/_action/access-key/user


    api.action.access-key.sales-channel GET ANY ANY /api/_action/access-key/sales-channel


    api.action.access-key.product-export GET ANY ANY /api/_action/access-key/product-export


    api.acl.privileges.get GET ANY ANY /api/_action/acl/privileges


    api.acl.privileges.additional.get GET ANY ANY /api/_action/acl/additional_privileges


    api.oauth.authorize POST ANY ANY /api/oauth/authorize


    api.oauth.token POST ANY ANY /api/oauth/token


    api.action.cache.info GET ANY ANY /api/_action/cache_info


    api.action.cache.index POST ANY ANY /api/_action/index

    .

    .

    .

    usw.

  • Du kannst ja nochmal die /api/version testen, das sollte so aussehen (ohne auth):

    Code
    {"errors":[{"code":"9","status":"401","title":"The resource owner or authorization server denied the request.","detail":"Missing \u0022Authorization\u0022 header"}]}


    Ansonsten noch evtl. das hier: https://developers.shopware.co…opers-guide/rest-api/faq/


    Ansonsten müsstest Du wohl eher beim Shopwaresupport schauen, es scheint ja auf der Shopware-Seite zu klemmen, nicht bei OpenXE.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!