Changed web API from get to post