Rest API Help

Rest API Help

Hello I have just started working on a portal to add records to Zoho Creator. I have successfully added records, however the page automatically downloads a json file with the data I posted. How can I stop this from happening?