Connect to API using OAUTH from a webserver

Connect to API using OAUTH from a webserver

I am able to generate the code from step 2, but not the access token from step 3 https://www.zoho.com/inventory/api/v1/oauth/#overview

I tried with self client and server-based applications

Here is my call to obtain a access token : https://accounts.zoho.com/oauth/v2/token?client_id=*CLIENT ID*&grant_type=authorization_code&client_secret=* CLIENT SECRET*&redirect_uri=*MY DOMAIN SPECIFIED IN API CONSOLE*&code=*CODE OBTAINED AT STEP 2*

But it always return me the error in attachment