Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [backend]

For questions involving the data processing components of a system. These components are typically called to from the user interface or business layer components, rather than interacting directly with the end-user.

0 votes
0 answers
4 views

How to Handle Timezones and Ensure Date Consistency in a Multi-Timezone Application?

In our application, we manage data from multiple timezones, and we need to ensure that date consistency is maintained across the entire system. I have a few questions regarding best practices for ...
Satya Prakash's user avatar
-1 votes
0 answers
29 views

JWT expires after refreshing page

I created a authentication system and thus was setting a JWT token in a cookie. However when I refresh the page it is getting deleted, even though I am setting it's expiry to be 24 hours. jwt.sign(...
rushil ekhande's user avatar
0 votes
1 answer
27 views

Unable to send a local image that isn't under wwwroot to openai using its new .NET library

I have an ASP.NET Core 6 Web API with the new official library from OpenAI (https://github.com/openai/openai-dotnet). What I'm trying to do, is to use a local image file to OpenAI. The file isn't ...
Moshe Az's user avatar
0 votes
0 answers
33 views

How to debug HTTP 400 Bad Request errors in django?

I have an app with React frontend and Django backend. I'm trying to make a POST request from my react client but I get "Bad Request" error. I checked my request url and it matches with my ...
brknarsy's user avatar
  • 129
0 votes
1 answer
70 views

C# Problem with CancellationToken and Queue

I have a queue that contains items that I pass into a method to download something. I would now like to ensure that a download that I want to cancel is also canceled. At the moment ALL downloads are ...
Groot's user avatar
  • 1
0 votes
1 answer
27 views

req.headers.auth is undefined In jwt and express js

I'm new to use jwt library .. So I made a login form and if it success it generates token and verify but it generates token and respond that token , but I can't get that token in req.headers....
Vicky X's user avatar
1 vote
1 answer
48 views

go.mod file getting updated when running go mod tidy

I have the following go.mod file. I'm unable to run the module as the compiler in VSCode asks me to run go mod tidy. When I run go mod tidy my go.mod file gets updated with go version getting bumped ...
10may's user avatar
  • 358
-1 votes
0 answers
11 views

Backend error in MERN stack any one have solution? [closed]

node:internal/errors:496 ErrorCaptureStackTrace(err); ^ Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at new NodeError (node:internal/errors:405:5) at ...
Krish's user avatar
  • 1
-3 votes
0 answers
30 views

Multiple User's are not being able to Connect to the WEBSITE [closed]

There is a problem in my backend that multiple users can't access the website at one's. If User1 login and a User2 arrives at the same time the 2nd User is seeing the interface of User1. So, What ...
Stiker's user avatar
  • 1
0 votes
0 answers
12 views

Uploading files using Elysiajs and save it to mongodb

I'm new to elysiajs and trying to upload files using multer and elysia, but its not working for me i tried to add a beforehandle and afterhandle but it's still not working , ..............................
omarghandour's user avatar
0 votes
0 answers
32 views

How To Handle Lost Data Packets In TCP?

What are the proper ways to handle the TCP data packets lost during the transit? I'm developing an instant messaging application with real-time chat feature. I rely mainly on TCP (Transmission Control ...
user26341567's user avatar
-1 votes
0 answers
14 views

express js urls calling same route.get() [closed]

"use strict" const express = require("express") const router = express.Router() require("dotenv").config() const current_file_version = process.env.CURRENT_APP_VERSION +...
iam preethi's user avatar
-1 votes
0 answers
20 views

Is it possible to write purely oop code in express in typescript? [closed]

I was trying to write pure oop code in the express backend as I am using typescript but I was confused that is it possible to use the pure oop in my backend ? I tried to learn using oop but got no any ...
Bharat Khatri Chhetri's user avatar
-3 votes
0 answers
37 views

Error when trying to access property from MongoDB [closed]

When I console.log(entry), it outputs: ({ _id: new ObjectId('669c834c6e93a548837c6572'), shortId: 'NpreYDMaH', redirectURL: 'amazon.in', visitHistory: [], createdAt: 2024-07-21T03:41:00.236Z, ...
Eren's user avatar
  • 1
0 votes
1 answer
62 views

What is wrong with my GET and PUT test commands?

For my CRUD in Django the POST and DELETE tests are working: curl -X POST http://localhost:8000/user/ -H "Content-Type: application/json" -d "{\"username\": \"john_doe\&...
marc.mitrasca's user avatar

15 30 50 per page
1
2 3 4 5
591