jbrave
15 years agoChannel Surfer
Need help with cUrl on roku
This works just fine from command line.
Any suggestions on how to convert this into a url to POST and or GET using roURlXfer?
Would the \ be converted to an ampersand? or the -d ? I tried putting it all on one line with ampersands and it was no-go, whereas cUrling it worked perfectly.
- Joel
curl 'https://api.blah.com/ath/link' \
-d 'client_id=lOnGStringOfCharacters' \
-d 'client_secret=reallyreallylongstringofcharacters' \
-d 'grant_type=password' \
-d 'username=blabla@blababla.com' \
-d 'password=s0mth1ng'
-d 'redirect_uri=http://myblah.com/fail'
Any suggestions on how to convert this into a url to POST and or GET using roURlXfer?
Would the \ be converted to an ampersand? or the -d ? I tried putting it all on one line with ampersands and it was no-go, whereas cUrling it worked perfectly.
- Joel