I am working on a Chrome extension that would allow users to record all HTTP requests for a site, modify pieces of the request and then resend it.
I'm hoping to use jQuery's ajax method to construct and send the modified request. I have been able to construct the other parts of the request, but as far as I can tell there is no way to include cookie values in the request.
Just to be clear - I'm not trying to create a cookie on the browser, I'm trying to modify the cookie value that will be sent along as part of the HTTP request using jQuery's ajax method.
Can this be done with jQuery's ajax? If not, is there anyway to do it in javascript?