Added post/get support and ability to identify request ajax