JSON Exporter would not deliver the contents of my pages published in some environments

Avatar

Avatar

leoh16127286

Avatar

leoh16127286

leoh16127286

19-09-2019

I have a page with the following path /content-test/order/image-content-service.html, which is published in all my environments.

When I try getting the JSON model of it /content-test/order/image-content-service.model.json, it returns JSON in some environments. In other environments, it just returns the same page.

I am wondering if there is some environment setting that enables JSON delivery.

Can anybody help?

Thanks,

Leo

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

20-09-2019

Do you have a Dispatcher front end on those environments, where JSON call is failing? If yes, review the dispatcher rules and make sure that the call is nor denied.

Answers (2)

Answers (2)

Avatar

Avatar

leoh16127286

Avatar

leoh16127286

leoh16127286

10-10-2019

berliant​, thanks for your suggestion. After making some changes to Apache rewrite rules for environments in question, the  problem got fixed.

Avatar

Avatar

hamidk92094312

Employee

Avatar

hamidk92094312

Employee

hamidk92094312
Employee

19-09-2019

You may want to check this:

Obtaining Page Information in JSON Format