ReachFive / fake-smtp-server

Fake SMTP Server for email testing
https://www.npmjs.com/package/fake-smtp-server
MIT License
192 stars 81 forks source link

404 when trying to remove all messages via API #3

Closed levmixali4 closed 6 years ago

levmixali4 commented 6 years ago

Using Postman I'm sending DELETE http://localhost:1080/api/emails the response is:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Error</title>
    </head>
    <body>
        <pre>Cannot DELETE /api/emails</pre>
    </body>
</html>

Please note GET http://localhost:1080/api/emails works fine

jcdelmas commented 6 years ago

Sorry, I can't reproduce this.

Are you sure you are running the last version ?

levmixali4 commented 6 years ago

yeah, not reproduced on latest version. Thanks.