box api - Codecademy tutorial Creating a folder -


working through codecademy tutorial uploading , downloading files. stuck on first step.

require "rest-client" require "json"  body = {     "name" => "tigerden27",     "parent" => {         "id" => "0"     } }  response = restclient.post(     "https://api.box.com/2.0/folders",     json.generate(body),     {:authorization => "access_token"} )  puts "copy number down: " + json.parse(response.body)['id'] 

the response get...

400 bad request that's correct! next exercise: adding description folder 

i don't folder id can't progress next step.

i've completed the prior tutorials without issue. appears others having same issue.


Comments

Popular posts from this blog

multithreading - Exception in Application constructor -

React Native allow user to reorder elements in a scrollview list -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -