Kindly wait a moment, post will be visible in just 5 seconds.

No Preview

ACR7AN

Posted on 2 February 2021

I Have a doubt !!

Ad Banner

0

27

0

No Preview

ACR7AN

Explore more similar Post

1 Comments

ACR7AN

2 February 2021

If I change from /product to /products in the code at both the places then why it is not working correctly ?? Please let me know !!!!

0
REPLY

Rizwan

2 February 2021

if there is any other route in the server side with same url config(/product/:someid) then whatever comes first will execute and rest will be ignored

0
REPLY

ACR7AN Khan

2 February 2021

correct bro, but my concern is if its working with (/product/:someid) then why it is not working with (/products/:someid ) ? Because as per my understanding we are free to give any name to API, please correct me if I am wrong

0
REPLY