shelf icon indicating copy to clipboard operation
shelf copied to clipboard

router issue

Open selvam920 opened this issue 2 years ago • 4 comments
trafficstars

There are two router. /api/product/<producttype> /api/product/adjustment

when i call second one the shelf_router package calling first one

selvam920 avatar Aug 12 '23 14:08 selvam920

Can you share your router code?

This is likely caused by the order you have your routes where it's using api/product because it finds that one first

MarkOSullivan94 avatar Aug 21 '23 08:08 MarkOSullivan94

First one with route parameter and second one without parameter, when i call second one wht its calling first one

selvam920 avatar Aug 21 '23 08:08 selvam920

Rounting should not be a order, i checked in .net web api there is no order like this

selvam920 avatar Aug 21 '23 08:08 selvam920

@selvam920 it's impossible to help you unless you share the exact code which you use for your router

MarkOSullivan94 avatar Aug 24 '23 01:08 MarkOSullivan94