Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i post email id for password reset ? #15

Closed
Suryanandsingh opened this issue Dec 21, 2018 · 2 comments
Closed

How can i post email id for password reset ? #15

Suryanandsingh opened this issue Dec 21, 2018 · 2 comments

Comments

@Suryanandsingh
Copy link

Suryanandsingh commented Dec 21, 2018

When I am putting this urls into my browser:-

  from django.conf.urls import url, include
   urlpatterns = [
    ...
     url(r'^api/password_reset/', include('django_rest_passwordreset.urls', namespace='password_reset')),
   ...
  ]

then I am getting "Method "GET" not allowed." there is nothing to show where i put email.

@Suryanandsingh Suryanandsingh changed the title How to can post email for password reset ? How to can post email id for password reset ? Dec 21, 2018
@Suryanandsingh Suryanandsingh changed the title How to can post email id for password reset ? How can i post email id for password reset ? Dec 21, 2018
@anx-ckreuzberger
Copy link
Contributor

It's not intended to be used with the browsable API (though this is something we can work out, if anyone wants to do that).

You can not use a "GET" request for that either, it needs to be a POST request.

See https://github.com/anx-ckreuzberger/django-rest-passwordreset#endpoints for more details.

@anx-ckreuzberger
Copy link
Contributor

I've created issue #19 for this and closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants