how to make a query passing parameters in an api:
example:
api/list/product = return all list of products
(this is oKay)
but
api/list/product/1 the retunr is null { }
how to make a query passing parameters in an api:
example:
api/list/product = return all list of products
(this is oKay)
but
api/list/product/1 the retunr is null { }
thanks my friend.
Thank you Hiperbytes
Were you able to solve this? I look at the screenshot and don’t know why it doesn’t work
I’m testing it, I’ll let you know the result
I’m trying to make a normal api call as shown in the image
This is not a problem with parameters, you did everything right in the screenshot. This is an entirely different problem, some error when NodeJS tries to connect to the database.
Can you open a bug report?
open a bug report?
in application ?
Never mind
Can you copy-paste the error message on your last screenshot to here?
localhost
online in my domain
In your cPanel where you see the NodeJS app, is there a button to “npm install”?
yes, I already did that, and the error persists
Gravar_2023_08_24_21_16_14_708