Skip to main content

Bug Tracker

Side navigation

#12118 closed bug (invalid)

Opened July 20, 2012 11:05PM UTC

Closed July 24, 2012 08:33PM UTC

AJAX : send XML data by POST

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

the POST variable as not index when we send a XML dada.

a solution :

javascript :

	type: "POST",
	contentType: "text/xml" ,
	url: "test.php",
	data: $xml.context,
	processData: false,
	success: function(msg){
	alert( msg );

PHP (or other):

$xmlcontent = $GLOBALS["HTTP_RAW_POST_DATA"];
echo $xmlcontent;

we need tu use HTTP_RAW_POST_DATA !

is'n possible to put an index to the variable POST ?

Attachments (0)
Change History (1)

Changed July 24, 2012 08:33PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

It sounds like you should ask for help in the forum. If you determine there is a bug in jQuery, please provide a full test case, preferably on Thanks!