added connection info and POST method