Added http post in send_record