need to send params as body instead, and json encode them