Set up a token-based HTTP connection

Comments

8 comments

  • David Gollom Strategic Partner
    Top Contributor
    Celigo University Level 4: Legendary
    Answer Pro
    Great Answer
    Engaged

    The option to send the token in the body of the HTTP call is not well documented.  How does one get the token entered into the body of the HTTP call?  There's some help in the contextual help but it's not correct. I'm just had coding the token in the HTTP body for now. 

    3
  • Stephen Brandt Documentation Manager Community moderator
    Engaged
    Great Answer
    Top Contributor
    Celigo University Level 3: Master

    David Gollom: I'm not sure what the award for patience and persistence is, but I do know they don't give them out in this lifetime. "Thanks?"

    An eagle-eyed product manager looked at the article (since corrected) for us and found that the path was wrong. It should be {{connection.http.auth.token.token}} when you select Send token via: HTTP body

    1
  • David Gollom Strategic Partner
    Top Contributor
    Celigo University Level 4: Legendary
    Answer Pro
    Great Answer
    Engaged

    Thanks Stephen!  You know what's funny?  I saw my original question and didn't realize it was me at first!  I forgot I'd even looked at this article a couple of years ago.  Thanks for getting it fixed!  

     

    0
  • Stephen Brandt Documentation Manager Community moderator
    Engaged
    Great Answer
    Top Contributor
    Celigo University Level 3: Master

    Hi, Ray Wootton. I know I've run across similar questions, and the answer is either eluding me or becoming too complex as I scan support queries for different API behavior. Before I suggest talking to support, would any of these solved community posts (with example settings and a bit of back-and-forth troubleshooting) help? 

    0
  • Stephen Brandt Documentation Manager Community moderator
    Engaged
    Great Answer
    Top Contributor
    Celigo University Level 3: Master

    Your memory is better than mine. ;) 
    Thanks for following up, Ray Wootton! I suspect that your question has already helped other customers in the same situation. 

    0
  • Ray Wootton

    Hi Stephen, I work with a number of APIs which use either API keys or basic authentication to fetch a token which is then passed into the request.  I am struggling to see how this is configured in Celigo.  In Postman I use a pre-request script which can do this and then use parameters in postman to set the token.  Can you explain how the same is achieved in Celigo please?  I.e. I need to make an HTTP request to fetch a token which is then used to pass into the api calls

    0
  • David Gollom Strategic Partner
    Top Contributor
    Celigo University Level 4: Legendary
    Answer Pro
    Great Answer
    Engaged

    Hey there!  Me again!  I'm working on another SOAP project with a key in the request body of the export.  Again, I'm trying to use a Token in the body of the request for authorization and it's not working.  The documentation appears to be wrong.  Can we get an answer to my request for two years ago??

    0
  • Ray Wootton

    Hi Stephen Brandt, many thanks for this and apologies I have taken so long to get back to you.  Struggled to get this working 8 months ago, so just parked it as plenty of other work to get on with, but revisited last night and began to understand the methods used in the last link in your post.  Trial and error has helped me poke around the UI to understand some of the commentary a bit better, so onwards and upwards. 

    0

Please sign in to leave a comment.