I am trying to get grant token by curl call . I followed the api guide. However, I am not able to get grant token. Can somebody help me on this. Below is the output.
It is giving me 302 Error
kumaran-a01:~ kumaran$ curl 'accounts.zoho.com/oauth/v2/auth?scope=Site24x7.admin.Read&client_id=1000.I7N03Z050TJ22780791IRT5A4L4G3H&response_type=code&redirect_uri=www.site24x7.com&prompt=consent&access_type=online&state=automationtesting' -XPOST