Scenario
I'm trying to get all entities from an endpoint, the ones on draft mode, and the ones on published mode. I know that if I want to post on draft mode, I have to post published_at on null on the body request.
If I do:
/posts?published_at_null=true
that returns an empty array.
Question
How can I do to return ALL the posts?
It is on the documentation
But quick answer, URL + '?_publicationState=preview'