Just use the -H and –data params when you request:
curl -X POST -H 'Content-Type: application/json' 'https://ww.googleapis.com/***' --data '{"token":"[CUSTOM_TOKEN]","otherKey":"otherValue"}'
发现问题,分享解决方案。
Just use the -H and –data params when you request:
curl -X POST -H 'Content-Type: application/json' 'https://ww.googleapis.com/***' --data '{"token":"[CUSTOM_TOKEN]","otherKey":"otherValue"}'