How to call an API with Flutter?
I'm creating a mobile application in Flutter that I'm testing on physical device(Android). I run my API on a wamp server in local. When I put the route in insomnia, it works and returns me a JSON. However, when I…
I'm creating a mobile application in Flutter that I'm testing on physical device(Android). I run my API on a wamp server in local. When I put the route in insomnia, it works and returns me a JSON. However, when I…
I'm fairly new to node.js/express and I really like it so far. I use ES6 Syntax for imports. When i started my project, i created all my routes like this : app.get("/getmenu", (req, res) => { import("./js/get/getmenu.js").then((result) => { result.getMenus(req).then((menu)…
I'm currently working on a Laravel project where I need to set up dynamic subdomains for each user. These subdomains should route requests to individual user profiles and apply middleware for authentication and security. Each user's subdomain should be generated…
I have a Next JS app, the version is 13.5.4, its structured like this: - pages -- about.tsx - src -- app --- layout.tsx --- page.tsx In order to not repeat code, I changed the default layout.tsx to this: import…
I need your help. I have a modal that I'm trying to show right after login. My effect and code inside ngOnInit only fire once, after I've logged in. This code is not working correctly for me, because my condition…
I've been working on a Laravel project using a Bootstrap template, and everything works perfectly locally. However, as soon as I deployed my project on a shared server, I encountered a routing issue. Specifically, when I load the homepage, everything…
I am building a web app with nextjs. I am having trouble. The sign_up component under the pages directory is not rendered. It is a blank page. I looked up the details in the chrome extension and got this warning.…
hello i have a axios request to post data to node js server but when i try to access to this data in the server i get that it not defined . this is the function post data: function Submit()…
I need to create a user accreditation controller. Users can be of two types: Buyer and Seller. I want different controllers to be called at the same address /accreditations/create depending on the type of user. Now I did this. Route…
I've created a free tier MongoDB cluster, and I'm getting this message from MongoDB: You are receiving this alert email because connections to your cluster(s) have exceeded 500, and is nearing the connection limit for the M0 cluster HSDevCluster in…