nerdexam
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)
  • A
    73% (24)
  • B
    15% (5)
  • C
    6% (2)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice