Zend
200-550 · Question #49
What content-type is required when sending an HTTP POST using JavaScript to ensure that PHP can access the data?
The correct answer is A. application/x-www-form-urlencoded. See the full explanation below for the reasoning.
Question
What content-type is required when sending an HTTP POST using JavaScript to ensure that PHP can access the data?
Options
- Aapplication/x-www-form-urlencoded
- Bhttp/post
- Ctext/html
- Dobject/multipart-formdata
How the community answered
(33 responses)- A73% (24)
- B15% (5)
- C6% (2)
- D6% (2)
Community Discussion
No community discussion yet for this question.