Is there a way to post data with javascript, but set the attributes such as content type, referrer, user agent, etc.
From what I can tell, the only data I can post is plain variables instead of application/x-www-form-urlencoded data.
Is there a way to post data with javascript, but set the attributes such
Share
You can use
.setRequestHeader( 'referer', 'foo' )or jQuery.Ajax();