I did disable the option in the API-write module, and now it's working in a shell terminal when I send the above CURL command.
But when I try to use CURL in HTTPS within my PHP program,
I get this message (401) : A valid login session was not found. Please log in and try again.
I don't understand why I get this message, because :
Is is posible to modify the json output of any of the READ API endpoints?
So, I know I can create my own endpoints, do the queries and output my own json. But there is one of the READ API endpoints that does what I need at 99%, so it would be easier to add something extra to it
Is there a hook or any way to modify the output of this json? the same way I use the BUILD hooks to modify the json that pages uses, like the
Yes, every page has a build hook based on the template it renders
filter:<templateName>.build. In your case it would be