• Resolved codyaweber

    (@codyaweber)


    Hey; appreciate this plugin. Thanks for building it!

    I’m trying to use the lost-password route. But I get different responses in Postman vs in an iOS simulator when the email isn’t found.

    Using Postman, I get a 401 response for an email that isn’t found, and iOS gives me 400. I’ve also noticed that in Postman, if I use the “Content-Type”:”application/json” header, I get a 401 response. If I don’t use that header, I get a 400. I’m guessing these things are connected, but when I set “Content-Type”:”application/json” in iOS, I still get a 400.

    Any idea why this is happening?

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

    (@sk8tech)

    @codyaweber

    Hi, thank you for your message. Happy to help.

    Can you please create a replicate of your site and send us the login? Email to
    [email protected]

    Thank you.

    BR,
    Jack

    Thread Starter codyaweber

    (@codyaweber)

    Thanks for the reply! Looks like it was my mistake after all. Alamofire wasn’t encoding the parameters the way I thought. All resolved now.

    • This reply was modified 5 years, 7 months ago by codyaweber.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lost password sometimes returns 400, sometimes 401’ is closed to new replies.