title: How to get oauth2 token with the WWW API?
body: <p>I am working on a project that requires to oauth2 token to communicate. The backend gives me a curl command, but I have no idea how to put it into WWW form in Unity because I have no former experience with http or json file. Could you help me to access the token? Thanks. Here how the curl code looks like:</p>
  
  <p>$ curl -v -u {CLIENT_ID}:{CLIENT_SECRET} "<a href="https://api.domo.com/oauth/token?grant_type=client_credentials&amp;scope=" rel="nofollow noreferrer">https://api.domo.com/oauth/token?grant_type=client_credentials&amp;scope=</a>{SCOPE}"</p>
  
  <p>and here is an example:</p>
  
  <p>$ curl -v -u 441e307a-b2a1-4a99-8561-174e5b153fsa:f103fc453d08bdh049edc9a1913e3f5266447a06d1d2751258c89771fbcc8087 "<a href="https://api.domo.com/oauth/token?grant_type=client_credentials&amp;scope=data%20user" rel="nofollow noreferrer">https://api.domo.com/oauth/token?grant_type=client_credentials&amp;scope=data%20user</a>"</p>
  
  <p>Thank you so much!</p>