Most parts of my migration to open source parse-server are successful, with my data correctly stored, accessible.
I am however having problems with cloud code, specifically with running simple curl tests.
The initial parse-server installation includes a sample main.js file that contains a hello world function
My own parse installation is hosted at '/parse' so URLs use this as the root
The following is a simple request test
curl -X POST \
-H "X-Parse-Application-Id: myAppId" \
-H "X-Parse-REST-API-Key:myRESTKey" \
-H "Content-Type: application/json" \
-d '{}' \
http://localhost:1337/parse/1/functions/hello
The response I get is
Cannot POST /parse/1/functions/hello
Which I take to be curls perfunctory statement that it cannot find a suitable POST endpoint
What is going wrong here? I have simply changed the sample curl example from Parse.com's documentation on using cloud-code to use my parse-server installation details
Cannot POST /parse/1/functions/hello
looks like a response from the server, not something curl said. Possibly adding -v to the command line helps you with some more clues. (and the "-X POST" part should be removed) – Menjivar