Forum Discussion

jfpelletier's avatar
jfpelletier
Contributor
2 years ago
Solved

Ignoring responses when an optional field is missing from the HTTP response

Hello all, I have a HTTP Client snap that returns an array of JSON in the response, and I need to use the data from the JSON responses in the next HTTP Client only if a certain key "file" is present...
  • SpiroTaleski's avatar
    2 years ago

    jfpelletier 

    I think that "join" snap can be avoided here, as after the second call(to get the files) you will get the JSON with the project details under the "original" object. 

     

    You can try that. 

    BR,

    Spiro Taleski