nerdexam
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)
  • A
    72% (31)
  • B
    5% (2)
  • C
    7% (3)
  • D
    16% (7)

Topics

#HTTP POST#Content-Type#form encoding#JavaScript

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice