Zend
200-710 · Question #75
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.
Web Features
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
- Dobjso/multipart-formdata
How the community answered
(43 responses)- A72% (31)
- B5% (2)
- C7% (3)
- D16% (7)
Topics
#HTTP POST#Content-Type#form encoding#JavaScript
Community Discussion
No community discussion yet for this question.