0

I'm trying to sign in with parse by REST API, always getting response as "Cannot GET /parse/1/login?username=user123&password=parse123") 404 . Below is my code

var auth_data={
  "Content-Type": "application/json",
  "X-Parse-Revocable-Session": "1",
  "X-Parse-Application-Id": "xxxxxxxxxxxxx",
  "X-Parse-REST-API-Key": "xxxxxxxxxxxxxxx",
  "X-Parse-Master-Key": "xxxxxxxxxx"

}
var res = $http.get('https://subodha.indiearts.in/parse/1/login?username=user123&password=parse123', auth_data);
    res.then(function (response) {
        $log.info(response);
    }).catch(function (error) {
        $log.error(error);
    });

Am I missing anything??

4
  • Why do you start riding a dead horse? The Parse.com server will be shut down end of January 2017. Commented Dec 14, 2016 at 11:38
  • @Robert: May be you have to see the code with caution. It's my own server. Commented Dec 14, 2016 at 11:55
  • api.parse.com is your own server? Commented Dec 14, 2016 at 11:57
  • @Robert: LOL. I forgotten to update the question. I did it now. Commented Dec 14, 2016 at 11:58

1 Answer 1

1

This is becasue your get url is wrong. With parse-server your url should be

yourdomain/parse/login

and not

yourdomain/parse/1/login

Remove the 1

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.