requestResponseFactory returning empty for _cq_dialog.infinity.json

bsr060893

26-08-2020

Hi,

 

I am trying to get the cq:dialog infinity.json data.

being used with requestResponseFactory to make a request, everytime no response is returned.

Please help with the returning of the data with the requestResponseFactory 

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

26-08-2020

Why are you not using httpRequest or sling request instead of requestResponseFactory. requestResponseFactory is used for below-

The RequestResponseFactory helps in creating custom HttpServletRequest and HttpServletResponse objects for use in Content Sync update handlers.

Answers (1)

Answers (1)

BrianKasingli

MVP

26-08-2020

Does the resource exist? Can you get a 200 OK from GET request from http://localhost:4502/apps/my-site/desktop/dialogs/icon-selection.infinity.json ?