Skip to content

Instantly share code, notes, and snippets.

@johnnygoodman
Created May 21, 2013 14:11
Show Gist options
  • Save johnnygoodman/5620082 to your computer and use it in GitHub Desktop.
Save johnnygoodman/5620082 to your computer and use it in GitHub Desktop.
1.9.3-p392 :021 > HTTParty.get('http://api.framebase.io/videos/f4ad2fdf-d272-481e-9c9a-904fcf182404').response.body.inspect
=> "\"Array\""
Are you intending to return the string Array to this request?
I suspect ya'll accidentally echo'd array instead of returning an actual array with attributes fileURI and rtmpURI (https://framebase.io/docs/rest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment