Question:Which HTTP header information is set to send information using POST method in Ajax?
Answer To use the method we should set an HTTP header for the request that indicates the data in the request will be set up in the standard POST way. HTTP header information is set to send information using POST method in Ajax is given bellow: XMLHttpRequestObject.setRequestHeader(‘Content-Type’,’application/x-www-form-urlencoded’);
+ Report
Which HTTP header information is set to send information using POST method in Ajax?