Hi, I having problem with Unity’s remote config api. In their docs it says: “In the POST payload below, replace [username] and [password] with your Unity account login information”. However I can’t seem to figure it out. What username do they want? My email or display name.
I tried both options and nothing works. I am doing something wrong or is API not completed?
I just tried it, and I believe I see the issue. The JSON should be formed like “username:email@domain.com” (there are no actual brackets). I’m on Windows, so I need to use the \ escape character, but my working request is:
curl --header “Content-Type: application/json” --request POST --data “{"username":"me@domain.com","password":"mypassword","grant_type":"PASSWORD"}” https://api.unity.com/v1/core/api/login