Home / Questions / Other PHP content type JSON response कैसे set करते हैं? को debug कैसे करें? Other 0 Views Verified PHP content type JSON response कैसे set करते हैं? को debug कैसे करें? सही विकल्प चुनें और code/solution को समझें। #php #core php #php programming #php tutorial #php error #php solution #backend #developer Sarkari Result QA Bank Editorially reviewed exam information Share
Verified Correct Answer header('Content-Type: application/json'); header('Content-Type: application/json'); Additional Explanation Content-Type response header client को representation type बताता है। पहले exact error message, line number और input value check करें।
Verified header.json(); header.json(); Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified response.header.json(); response.header.json(); Additional Explanation यह विकल्प सही Core PHP solution नहीं है।
Verified content_type('json'); content_type('json'); Additional Explanation यह विकल्प सही Core PHP solution नहीं है।