Giter Club home page Giter Club logo

Comments (5)

EDDYMENS avatar EDDYMENS commented on June 24, 2024

@SplinterProject which URLs are you are referring to?

from awe-blacklabel-sdk.

SplinterProject avatar SplinterProject commented on June 24, 2024

this for example...from requestProcessor function :

$URL = "$this->whiteLabelURL/$lang$memberRoute/api/v1/$urlPartial?".$queryParams;

whatever i try...it always gives me an error:

Array( [errors] => Array( [0] => Array([message] => Error occurred[code] => 401 ) )[sessionId] =)

you should verify it...now i had some successful attempts by using:

$URL = "$this->whiteLabelURL/$urlPartial?".$queryParams;

and then altering the url paths from the functions like those existing on the whitelabel:

public function getPerformerDetailsByName($name) { return $this->requestProcessor('en/flash/get-performer-details/'.$name, 'GET', []); }

and i'm pretty sure that this is not the way you intended for this to work because these result are also present on the whitelabels just by going to inspect element and then viewing the sources...i might do something wrong or the urls are outdated
i also outputed the result from functions just to be able to read them...idk why the assertions were hidden
i need to tell you that i have an existing whitelabel from the AWE so the credentials are not a problem here

from awe-blacklabel-sdk.

SplinterProject avatar SplinterProject commented on June 24, 2024

So? Any tips to make it work?

from awe-blacklabel-sdk.

EDDYMENS avatar EDDYMENS commented on June 24, 2024

Hmm, am not sure what the problem is currently. Do you get a JSON response when you use this en/flash/get-performer-details/? Also, can you share a full snippet of how you are using this and the results you get when you use it as specified in the readme section?

from awe-blacklabel-sdk.

SplinterProject avatar SplinterProject commented on June 24, 2024

Oh sorry...now i figure it out. I was working on the Whitelabel url's...i didnt know there is a blacklabel demo from AWE.

from awe-blacklabel-sdk.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.