Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ali Qureshi

    (@parorrey)

    Just send the values using form POST method.

    Hi, i use post method (angular) but it seems not working:

    var request = $http({
    method: “post”,
    url: ‘/api/user/generate_auth_cookie/’,
    data: {
    username: myusername,
    password: mypwd
    },
    headers: { ‘Content-Type’: ‘application/x-www-form-urlencoded’ }
    });

    It responds with: You must include a ‘username’ var in your request.

    Could you help me?
    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Send Credentials in URL’ is closed to new replies.