Fix issue with sending post requests. Add connections lookup