Switched API to POST and added stats collection