Made change for POST.
added getInput in socketlistener.