I am able to get the output application/json but why when I save it to the storage in the server, the json file will become .txt file? is there anything in the apache2 configuration that I missed out? or this is a Laravel issue?
@michaloravec
it does save the file into .json, why does the file extension become text/plain in the server? while in my local the file extension is still application/json?