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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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