Changed method type to post