HI Team,
i am trying to setup Headless & GraphQL local setup using wknd site but getting below error
Error: SyntaxError: Unexpected end of JSON input
even checked CORS configuration are in place already in local AEM
@arunpatidar @EstebanBustamante
Views
Replies
Total Likes
Hi @sonuk85184451 ,
I think you end point was wrong, please try this
/content/graphql/global/endpoint.json
Follow this page for more clarification.
Happy Coding,
Views
Replies
Total Likes
@Aditya_Chabuku - yes , documentation says
/content/graphql/global/endpoint.json
but after installing the wknd package i see end point is
/content/cq:graphql/wknd-shared/endpoint.json
how global one will work to fetch wknd content fragments ?
thanks
Arun
Views
Replies
Total Likes
Hi @sonuk85184451 ,
The repository path of the GraphQL for AEM global endpoint is:
/content/cq:graphql/global/endpoint
For which your app can use the following path in the request URL:
/content/_cq_graphql/global/endpoint.json
I found this Article it will be helpful to you.
Also, Here are links to Video Series, which explain better
Happy Coding,
Views
Replies
Total Likes