1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Calling REST methods from Script Component

Discussão em 'PSDN - Forum' iniciado por Timothy Williamson, Junho 6, 2017.

  1. Hello,

    I'm working on a way to drag/drop files into the browser and create records/upload the binary content at the same time. It *almost* works (I think, lol)...but I'm running in to problems when posting to "setBinaryData".

    Here is the line where I generate the sessionId:

    "sessionId={!#SESSION_ID}@{!#CURR_CUSTM.id}"

    ...I keep getting "Session expired or invalid login credentials" back in the response.

    Is there a way to generate a valid sessionId using tokens?

    Having to call "login" kinda defeats the purpose so, if at all possible, using the tokens (or some other way I don't know about :)) would be preferred here.

    Continue reading...

Compartilhe esta Página