I've created an instance of parse server.

I can get data from the collection no problem, but I'm stuck as to how to upload text files.

I'm running curl from windows to upload a simple backup log.

When I run:

curl -X POST -H "X-Parse-Application-Id: CITBackDash"
  -H "X-Parse-REST-API-Key: nottherealpassword" -H "Content-Type: text/plain"
  -T "C:\users\CITsmithy\Backup-Log.txt"

I get the following error:

{"error":"Unexpected token E"}

Nevermind, for those idiots who get stuck like I did, the parse API mounting point for file uploads is...


Bit silly of me.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.