Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter syrill

    (@syrill)

    loadAJAX.js lists /lp/v1 and requests are directed zu learnpress/v1

    Plugin Author ThimPress

    (@thimpress)

    Hi syrill,

    We think your site config wrong link, you can see. The API link enroll must right should is https://ddv-media.de/lp/v1/courses/enroll-course?_locale=user, but in your site https://ddv-media.de/hiddenapi/lp/v1/courses/enroll-course?_locale=user

    You can check on out site on here

    Thread Starter syrill

    (@syrill)

    We did not change anything in that regard. Plus, as stated, the URL are both containing /hiddenapi/ – the problem is, that the request URL is followed by /lp/ while there is no such path, but there is /learnpress/.

    Which is, as shown in the screen, HARDCODED

    Plugin Author ThimPress

    (@thimpress)

    Hi syrill,

    Learnpress get link API domain by site, and define /lp/ , /learnpress/ is 2 type API. LP make API from v4.0 and the first time we see this problem. We think something wrong config on your site. You find link support on the https://www.ads-software.com/plugins/learnpress/ and create a ticket, we’ll check more.

    Thanks.

    Thread Starter syrill

    (@syrill)

    the URL it gets is CORRECT… an url “prefix” does not matter… as /hiddenapi/learnpress shows the api endpoint

    Plugin Author ThimPress

    (@thimpress)

    Hi syrill,

    We dont’ know why, we only see link you send, can’t check config on your site. What is the tool you use like you said?

    Thanks.

    Thread Starter syrill

    (@syrill)

    We use your plugin out of the box. In the network tab inside the dev tools we can see it sending a request to /hiddenapi/lp/… which returns, that it does not exist.
    Checking for a path myself the api endpoint is at /hiddenapi/learnpress/…

    Hence the problem, obviously.

    Plugin Author ThimPress

    (@thimpress)

    Hi syrill,

    Ofcourse, it problem, but we can’t check on your site, because we don’t have enought info.

    You can see the API get courses. It normally.

    You can try save permalink on your site then check again.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘POST request failing’ is closed to new replies.