Announcement

Collapse
No announcement yet.

URLAction Multiple Headers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ScottRennie
    replied
    Cheers Sparkman, that was going to be my next move. BTW, I work in the UK for CNR who are in Calgary!

    Leave a comment:


  • sparkman
    replied
    Typically if I need to do something more complex with headers, I use the .NET functions (https://docs.microsoft.com/en-us/dot...tframework-4.8) rather than the built-in HS command. Do some Googling and you should be able to find some good examples.

    Leave a comment:


  • ScottRennie
    started a topic URLAction Multiple Headers

    URLAction Multiple Headers

    Can anyone help with hs.URLAction? I have a call with a URL and three headers

    Accept: application/json
    x-ibm-client-id: 1111-111-111111-1111
    x-ibm-client-secret: kejcfkrjnklrejgc;kerjvnkchg;jkrtghn

    I have tried this
    result = hs.URLAction(URL, "GET", "", "accept: application/json, x-ibm-client-id: 1111-111-111111-1111, x-ibm-client-secret: kejcfkrjnklrejgc;kerjvnkchg;j")

    I just get errors no matter how I format the headers!
    Any help appreciated !!

    (the keys are not real/valid)

    Cheers
    Scott
Working...
X