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

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -