smalldatetime eklendi
removed unused variable
postToUrl