I’m using: SWI-Prolog version 8
I want the code to:
Recover the value of a properties in this data structure : context(headers(acces_id('1598745172065'),version_id('1598745172065')))
i want to get to the acces_id
value .
But what I’m getting is:
"code": 500,
"message": "Type error: `dict' expected, found (a compound)
My code looks like this:
Data=context(headers(acces_id('1598745172065'),version_id('1598745172065'))),write(Data.context.headers.acces_id).