how to update a json file in JCR repository by using sling servlet ?
I have a requirement like to update json file by using sling servlet waking up with ajax call .
like:
Path: apps/myproject/jsonfile/xyz.json

I have a requirement like to update json file by using sling servlet waking up with ajax call .
like:
Path: apps/myproject/jsonfile/xyz.json

@keshava219 you may just need to call the servlet via form-submit/ajax,
call the 3rd party API from the servlet ,
get the resonpse ,
manupulate the data as required and use JCR APIs to manupulate JCR nodes etc.
and send it back via response object.
you can also ref these links.: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-where-to-store-json-files-to-access-json-as-it-is-in-ui/m-p/272656
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.