• Resolved shoaibisone

    (@shoaibisone)


    Guys please me resetting the password by calling the API.

    I have installed this plugin but I was not able to see any panel inside the WordPress dashboard. If it doesn’t have any dashboard then can you guys help. Suppose I have website http://www.qwerty.com and I install this plugin in then what URL to call in postman so I can send the email in URL and see a response back. Guys your help would be really appreciated. Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dominic_ks

    (@dominic_ks)

    Hi @shoaibisone,

    Thanks for reaching out and trying the plugin.

    You are right there is no screen in the admin area that comes with this plugin, it purely adds new routes to the API which you can call from Postman, as you say, and any other application that can make http calls.

    The section you are looking for on this page is the ENDPOINTS section near the top.

    As an example, the first endpoint to request a password reset looks like this in the docs:

    Endpoint: /wp-json/bdpwr/v1/reset-password
    — HTTP Verb: POST
    — Parameters (all required):
    — email

    So, with your example domain, in Postman you’d make a POST request to http://www.qwerty.com/wp-json/bdpwr/v1/reset-password with a body (you can use form data) setting just one parameter of “email” with the email of the user you want to reset a password for.

    I hope this helps, any other questions please let me know.

    Cheers,

    Thread Starter shoaibisone

    (@shoaibisone)

    Hi Dominic, thanks for this. I have received this message successfully.

    {
    “data”: {
    “status”: 200
    },
    “message”: “A password reset email has been sent to your email address.”
    }

    buy unfortunately I haven’t received any email with a code in it.

    Plugin Author dominic_ks

    (@dominic_ks)

    Hello,

    First thing to test would whether emails are being sent from your install at all. If you install a mail logger, e.g. this one:

    and then re-test the password rest, if the email is shown in the mail log then the plugin is doing all it can to send the email and there may be another reason emails are not reaching you.

    If this is the case, it’s not that uncommon, and you may need to look at sending your emails from WP via an SMTP server with a plugin that does this, e.g. this one:

    Cheers,

    Plugin Author dominic_ks

    (@dominic_ks)

    I am marking this thread as resolved as I’ve not had a response to the above. If you or anyone else has issues with emails being sent, please verify that your install is sending other emails successfully, and if it’s just an issue with this plugin, please open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help me Calling the API to reset password’ is closed to new replies.