Did you pass parameters in the body as well?
ie
The above is for 1.8 API, if you’re still using 1.7 series, then please have a look at links provided by Dan in your previous topic - Client id and secret as the urls etc will be different.
If you want to use API then as Dan said we highly recommend upgrade to 1.8 series.