AnsweredAssumed Answered

CURL Options Authorization Failure

Question asked by rhearob on Nov 16, 2018
Latest reply on Nov 17, 2018 by user19752

Greetings all,


I am trying to retrieve a list fo ingredients from an on-line recipe database using the insert from URL function in a script. The CURL statement that works in my terminal is:


curl -X GET -H 'Authorization: Token token="XXXX"'


Where the XXXX is an authorization token.


However when I try the following in FM


Screen Shot 2018-11-16 at 4.21.29 PM.png


all I get back is an authorization failure. I think it must have something to do when escaping my quotes in the token. Any ideas FM gurus?


This should return a JSON response listing all of the ingredients in my recipe that I will then have to parse.