[jQuery] Sending base64 encoded data with .ajax()
I am attempting to send base64 encoded data but what is received on
the server is mangled (specifically, any plusses are turned into
spaces). I have attempted to set processData to false, but that
doesn't seem to work. Would setting the contentType help? If so, what
should it be set to?
$.ajax({
type: "POST",
url : processorURL,
cache: false,
timeout: 3000,
processData: false,
data: "arg=" + arg,
success: DisplayResults,
error: DisplayError
});
Any ideas?
TIA,
Tom