Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
-- code written in lua
local http = require("socket.http") local ltn12 = require("ltn12") local json = require("json") local url = "https://api.dropboxapi.com" local data = {} local request = {http.request{ url=url, path = "/2/files/list_folder", method="POST", sink = ltn12.sink.table(data), headers = { ["Content-Type"] = "application/json", ["Authorization"] = "Bearer -secret code" }, source = ltn12.source.string(json.encode{ path = "", shared_link = { url = "secret link" } }) }} stuff["data"]=data require("Parse")(request)
I'm attempting to use a folder for a web library for my personal projects, but I can't get the HTTP request to work properly. I've tried many things, but it always returns with the Moved Permanantly error. Anyone have an idea of what's wrong?
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!