stepanbenes/api-for-nopcommerce

Api for version 4.40

Linden-Brochu opened this issue · 1 comments

Hi,

I want to use the plugin for Nop version 4.40. I download the plugin at the last commit before the migration to Nop 4.50.

The installation is good, no problem there. My problems start when I want to reach any of the endpoint of the plugin. For example, when I tried first to use swagger UI at /api/swagger, Nop redirect me to /page-not-found (this issue have been explored more than once in the isssues so it's not prioritary), and when I tried to access /token with a post request with the body template used in this issue, I get a 400 Bad Request (with Postman) with no message.

The plugin is installed correctly and in the plugin's setting page, the "enable Api" checkbox is check.
I have no other plugin than this one and the one that come with a fresh installation of Nop Commerce 4.40 (except the facebook authentitcation because it seems to cause problem with swagger UI).

So my problem is that none of the endpoint works for me and I don't know how to fix it

Commit used : commit

EDIT : I test the api in release mode and deployed with IIS

My bad, I though I changed the build directory, but I did a mistake in the path.