Skip to main content

All Questions

Tagged with
1 vote
0 answers
16 views

Java with Habarta typescript generator nullable/undefined handling

I have common java app with https://github.com/vojtechhabarta/typescript-generator for generating typescript api from java DTOs model. Mostly it works okay, but i got to a situation, when I need to ...
Gobanit's user avatar
  • 293
0 votes
1 answer
50 views

How should data be processed when returned from a Trino database?

I am attempting to fetch data from a Trino database. I send my initial query to the database and get a NextURI. In a while loop after that, I re-check the NextURI to get part of the data until the ...
M. Nicol's user avatar
  • 113
1 vote
1 answer
39 views

Passing change event value through props from child component to parent in react typescript

I'm trying to pass data from child component to parent one through change event. But I can't understand, basically both functions have the same structure. The main components is getting bigger so I'm ...
Mosi Bdp's user avatar
0 votes
0 answers
83 views

TypeError - ctx.request.body is not a function

I am trying making a simple RESTApi using Deno and Oak. Why am I getting this error TypeError - ctx.request.body is not a function request: { url: "http://localhost:8000/todos", method: &...
Shivam Sharma's user avatar
0 votes
0 answers
37 views

Next js Api sometimes returns 404 sometimes works fine

I am using Next.js 14 and in a component of my project I need to make an api call, which works fine in the beginning but after some consecutive calls, it returns 404. The api route is as follow: ...
Naman Arora's user avatar
0 votes
0 answers
32 views

Highcharts with Angular loads blank before data is received

I'm trying to integrate Highcharts into my Angular application. I am trying to pull data from the Spring backend and put it in the chart. I tried using the Angular Highchart tags originally but couldn'...
middspace's user avatar
0 votes
0 answers
43 views

QLIK REST API giving 401 Unauthorized Error

i am trying to use the following api for qlik cloud along with the documentation URL: curl "https://your-tenant.us.qlikcloud.com/api/v1/apps/{appId}" \ -H "Authorization: Bearer <...
Hammy's user avatar
  • 45
0 votes
2 answers
1k views

GET request with Angular 17, how to do it?

I'm currently learning Angular CLI, and I would like to fetch an image from my server. I tried following some tutorials but they don't provide much information on what is happening, and most of them ...
Pirategull's user avatar
0 votes
0 answers
178 views

How to typesafe fetch from third party REST API in NextJS 14 App router in RSC and RCC?

There are a lot of different information out there on how to fetch data in NextJS 14. However I can't seem to find the best way to typesafe fetch data from a third party REST API for RSC as well as ...
Bert Van Hecke's user avatar
1 vote
0 answers
312 views

How to configure max request body size in Elysia JS | Bun JS

I am trying to implement a simple file upload feature in Elysia JS. When uploading a larger file (1.6GB) I get the following message "413 Request Entity Too Large". I have worked with ...
Himanshu Jangid's user avatar
0 votes
0 answers
117 views

Only some generated OpenApi Angular service functions are not defined when executing in browser

Using the openapi.json created by my Spring backend I generated an API client: java -jar openapi-generator-cli-7.4.0.jar generate -g typescript-angular -i ./openapi.json -c openapiconfig.json -o ./api ...
lprend's user avatar
  • 132
0 votes
1 answer
322 views

How do I avoid "Some of the provided components in XXX are not related to the entity" in Strapi?

User I have an endpoint to add a like to a post in an application. The endpoint gets the id of the user who clicked on the like button and inserts that id, along with the number of likes(not important ...
UnaiZelaia's user avatar
0 votes
1 answer
72 views

Module Has No default export | TypeScript RestAPI [closed]

I am getting a red underline for the word controller when doing import controller from '../controllers/test.controller'; I have a rest api typescript application. Where I have the structure as shown......
kwik's user avatar
  • 3
0 votes
0 answers
21 views

How can I relate 2 entities (Product and Cart) to make a Cart functionality in a RESTful API with Node

I'm trying to make a Shopping cart logic in a RESTful API, I'm working with Node.js (TypeScript), Express and prisma, but I'm no sure if my prisma schema should be like this: model Product { id ...
Enzo Briones's user avatar
0 votes
0 answers
36 views

How do I reauthenticate my logger after cookie expires

When first logging into my web application the logger is authenticated by setting the withCredentials parameter for AxiosRequestConfig to true. Here is the authentication class the logger uses to do ...
andrew's user avatar
  • 93

15 30 50 per page
1
2 3 4 5
35