added try-catch to Create HttpPost