changed request to POST and specified json