Unable to test API through Postman

2 周 前
I have tried turning off` all the certificate verification in Postman and no SSL is required since the database is local. However, I still keep encountering "400 Bad Request". I will attach some screenshots during my work.
Here is my current setting in Postman:
https://1drv.ms/i/c/33088de37c3cff5b/EZV8ES5jGNtDhE4GVJ03CVwBcXUzJfydr17PQXGg7ydkAA?e=zy6AFV
https://1drv.ms/i/c/33088de37c3cff5b/Ee0yZMX27cxNlC93zNB-t8IBHjpqImNBGjAlUDgVZto4ZQ?e=hcOoK1
Here is the result page I got after running the test:
https://1drv.ms/i/c/33088de37c3cff5b/ERMVKZt6r0RKvj5yYtVMuR4BDynt1AYd1Bh6cii7GhDEbQ?e=8PkSo6
Here is the message in console:
https://1drv.ms/i/c/33088de37c3cff5b/ETdKST0lG8JGt8EiLtCDDfsB7c5oePNpPVJqVp9rL4_rrw?e=moyyHR
Could you please maybe help me find out what I did wrong in this process? Thanks a lot!
2 周 前
Hi! Unfortunately, I can't help you with setting up Postman (if you try the suggestions from this post), but if you want to test calls locally, you can use the built-in Swagger UI, it should be available at /api address on your site
1 周 前
Hi,
I am curious how to use the Swagger UI. When I use either /api or /api-backend, it pops up 'page not found.'
1 周 前
In this case, it seems that your plugin is not installed correctly, try reinstalling it so that the route will work correctly

ypc1101 wrote:
Hi,
I am curious how to use the Swagger UI. When I use either /api or /api-backend, it pops up 'page not found.'