πŸ“Š PHP
Q. Which PHP function reads raw JSON input from request body?
  • (A) $_POST
  • (B) file_get_contents('php://input')
  • (C) $_REQUEST
  • (D) json_input()
πŸ’¬ Discuss
βœ… Correct Answer: (B) file_get_contents('php://input')

Explanation: Used to read raw request body.

Explanation by: Kanak Sharma
Used to read raw request body.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
25
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
92%
Success Rate