Still some issue. When I look at the network it includes the variable, not the value of the variable.
{headers: {…}, method: ‘GET’, uri: 'http://OBFUSCATED useridentifier={{ $json.useridentifier }}
@TommyK , perhaps you meant to strip your identifier of the curly brackets. The original value (as I remember from another post Extract data from http response) is in the form {<SOME_ID>}.
If that is the case, you can update the extraction of useridentifier in “Edit Fields” node like this, {{ $json["rdf:RDF"]["ss:login"]["ss:useridentifier"].slice(1,-1) }}.
Another point to note is you are using spaces where they are not expected. The query string has to be in the form ?key1=value1&key2=value2. However, I can see a space which would become part of the “key” as in & useridentifier={{ $json.useridentifier }} (note a space after &). That is the key will become %20useridentifier instead of just useridentifier.
Generally speaking I find your querystring odd-looking. Are you sure it is in correct format? For visibility, it is like this, http://o.net:1804/Testing/oslc/am/qc/?oslc.where=dcterms:type="Package" and dcterms:modified="2023-12-18"& useridentifier={{ $json.useridentifier }}. In particular, note this, oslc.where=dcterms:type="Package" and dcterms:modified="2023-12-18". This actually will be transformed after URL encoding into oslc.where=dcterms%3Atype%3D%22Package%22%20and%20dcterms%3Amodified%3D%222023-12-18%22. That is, the key will be just oslc.where and the value will be dcterms%3Atype%3D%22Package%22%20and%20dcterms%3Amodified%3D%222023-12-18%22. Is it really the correct and expected key/value pair?
I need to extract the value for ss:useridentifier to be used in the second call.
With the readout token I can make a second call.
This as a GET method.
In my querystring I must include my token as useridentifier=TOKEN_FROM_FIRST_CALL
Thanks. Makes sense. In that case the only obvious problem would be a space after &. That is the Jan’s example of the URL would be http://o.net:1804/Testing/oslc/am/qc/?oslc.where=dcterms:type="Package" and dcterms:modified="2023-12-18"&useridentifier={{ $json.useridentifier }} (space removed).