Category "routes"

How to set up traffic forwarding so my origin IP address remains the same when calling an external API from Azure or my laptop

I have an Azure App Service and multiple Azure Functions that need to call into a specific external API - let's call it external.api.com. I also frequently run

What does this error mean and how would I fix it: throw new TypeError('app.use() requires a middleware function')?

I am trying to create a login page and sign up page, my app.js gives me this error, I think it is the last line of this code. I can send you the other component

Laravel Implicit Binding Routing with More Than Two Word

We know that Laravel 8 and above has an Implicit Binding function on its routes. I have tried to create a controller resource with model name is QuestionHelper.

Error when using CreatedAtRoute in ASP.NET Core minimal API

I'm trying to use CreatedAtRoute in minimal API. app.MapGet("/clients/{id:int}", [EndpointName("GetClientById")] async (int id, ClientsContext db) => await

Why am I getting an error in my Route Redux code?

I can't find my error in the code. Could someone explain to me. Test: Nav:' should be rendered on the path "/". The "Home" component should be rendered only on

Routing between ovpn-tun0[10.8.0.0/24] and hw-interface[172.16.0.0/16] issue

I have a problem that I cannot figure out alone. I was able to find very similar issues but none seems to focus on my particular endingsituation. What do we hav

Mikrotik routing between networks via l2tp

I have 2 Mikrotik routers: Home(static WAN IP): LAN - 192.168.30.1/24 VPN IP - 192.168.146.1 Office(Cloud): LAN - 192.168.20.1/24 VPN IP - 192.1

How to pass data from one component to another component in React.js?

I need help regarding the react code. I am displaying the tree view. Clicking on the tree nodes will open the component in the right. I am successfully able to

Symfony how to NOT route public folder

I have a Symfony web app. As per default, all site calls are routed by Symfony. However, when I want to call for example mysite.com/public/example.img and retre

What is your suggestion for defining this VOIP web-service?

What is your suggestion about defining routes for such a web-service? Input: called number call date Output: caller number call datetime call duration

How to call multiple routes sequentially without messing with body

I have something like the following: .from("direct:start") .to("direct:a") .to("direct:b") .to("direct:c"); The issue I have is direct:a modifies t

How do I configure OData to use a POST with /$query on an endpoint configured with ODataAttributeRouting? I'm getting a 404

This is a follow-up to OData AspNetCore support for long URLs useing $query is not working. OData 8.0.4 In startup, I have app.UseODataQueryRequest() My Control

Refuelling and optional nodes in a VRP

I am using the Google OR-Tools librairy for Python to solve a VRP problem.My problem is quite simple : It is a basic VRP problem where vehicles are "cleaning ve

Flutter: Generating routes with auto_route using a Class with named constructors instead of default constructor

I am trying to generate the router.gr.dart file using the auto_route package in flutter. My class has 3 named constructors: ProfilePage.a({ Key? key,

Ruby on Rails routes - Query parameter vs id

I'm trying to set a route that accepts a dynamic field. Restaurants have categories [:chinese, :fast_food, :french, :vegan] and the route restaurants/vegan allo

Laravel | Route not defined

I have a problem in my Route. I see this error: Route [utilizadores.editar] not defined The error occurs on the page when I try to update the data in my DB. M

Flutter: Autoroute : RouteGuard not working in AutoTabsScaffold

I am trying add auth guard for my AutoTabsScaffold [bottom nav] but it's not working, It's working in other navigation pages but not just inside my landing page

Express separate two routes that are only different by req.params

Hi I am trying to build a CRUD application to get items by name and location. Here are the two routes I have so far: app.get('/items/:name', function (req, res)

How "equals" in express-validator works?

I have to validate two fields are equals. In this case both passwords are the same. The problem it is that the "equals" from express-validator is not working. T

React Navigation V5 custom header + Typescript Error: custom property 'rightButtons' does not exist on type 'object' (router.params)

I create custom header: const header = ({ navigation, route, options, back }: NativeStackHeaderProps): React.ReactNode => { const buttons: HeaderRightBut