requestResponseFactory returning empty for _cq_dialog.infinity.json

Avatar

Avatar

bsr060893

Avatar

bsr060893

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)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
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)

Avatar

Avatar

BrianKasingli

MVP

Avatar

BrianKasingli

MVP

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 ?