I sometimes see in other peoples code that they pass null to the send-method of XMLHttpRequest.
req.send(null)
Others call send() with empty parenthesis.
Obviously the parameter is meant to pass parameter to a post-request.
Does it make any sense to write it when I'm doing get-requests?
Once somebody told me that it could cause problems NOT passing null in there. But without being able to explain the whole issue properly. :))
Is it true that it can cause problems to leave the parameter out?