made post instead of get