When i send a HTTP GET
via ajax, does it includes propers cookies? or cookies goes in the request only when Method is POST
?
It should send cookies with either type of request, just like the browser does when following links or submitting a form.
A get request should send cookies.
but
AJAX calls only send Cookies if the url you're calling is on the same domain as your calling script.
notice
localhost:3000 and localhost:3001 is not the same domain and treated as cross domain, so no cookies will be sent. (source)