python - How to access parse.com REST API after migrating to local server? -
i have been using parse project server , have migrated data local server, made dashboard work; cannot find way access api.parse.com/1/
api.
i used use python make rest requests , establishes socket connection api.parse.com
@ port 443
. trying connect localhost
@ port 1337
parse-server instance running. however, have not been able access api same before.
one thing note can curl
basic json response requests
curl -x -h ... http://localhost:1337/parse/classes/_user
the question connection replaces api.parse.com
locally held parse-server instances?
ahh found out answer:
you make socket connection address
, port
parse-server
running, , instead of doing
conn.request("get", "/1/login?%s"%...)
you do:
conn.request("get", "/parse/login?%s"%...)
hope helps.
Comments
Post a Comment