g-roma/Freesound.sc

Domain problem.

Opened this issue · 0 comments

The "getToken" function would not work for me. After some debugging I found out that the curl command would get no response because the of the domain. https://www.freesound.org had to change to https://freesound.org.

After changing line 92 in the Freesound.sc file from:
cmd = cmd ++ "\" https://www.freesound.org/apiv2/oauth2/access_token/ >\"%\"";
to:
cmd = cmd ++ "\" https://freesound.org/apiv2/oauth2/access_token/ >\"%\"";

everything worked.