I managed to solve it, it seems there was an error in .htaccess that somehow was affecting wp-json.
Thanks for the help.
Hello again, they are not set to plain.
If it is of any help, the call to
/wp-json/awdp/v1/productlist
works fine and responds with the defined products.
Cheers,
Hello, how and where can I check about permalinks? I am sorry, not an expert on WP.