Forum Discussion
How the "additionalData" is sent to SnapLogic endpoint?
Is it sent as query parameter? ex: https://elastic.snaplogic.com/api/1/rest/slsched/feed/example/jobs/test-hello?additionalData=testValues
If yes, then you will need to access the pipeline parameter in the Mapper Snap(ex:_additionalData).
If the field is sent in the request payload, then you can access the field in the Mapper Snap(ex: $additionalData).
- jfpelletier2 years agoContributor
Hello SpiroTaleski,
The "additionalData" is not sent as query parameter, and I can't seem to capture it as payload with the mapper.
This is what my mapper looks like, and I'm still getting the same error message:
I also tried to use simply "$" instead of "$additionalData" in the Expression field, but same error message...
I used the "webhook.site" website utility to capture the full data, and the "additionalData" field was displayed in the "Form values" section (sorry about the blurred sections, I have to anonymize before posting...):
Thanks,
JF