Fixes bug with post instead of get