I using Drupal 7 and views_datasource.

I created a new view and set the Format as JSON data document. I also set a path to this view and let say /json-output.

When I access this /json-output it will display the full html page together with the json in the body.

My question is how to I retrieve only the json without the full html?

Thanks in advance!

Comments

cnh’s picture

Okay, problem solved!

patrik.meneguot’s picture

how to you do to solve this?