A website returns JSON as response but the response header says the content-disposition type is attachment is there any specific reason for it..
I am creating a RestAPI should I do the same
does this have any security related or any other specific purpose should it be done