All Questions
1,378
questions
0
votes
0
answers
14
views
NextJs router to match Forms
I have a basic app that posts an object to the back end.
Frontend is nextjs and backend is django, thus backend does not matter for this question
I am sticking to crud/rest as much as I can.
My ...
0
votes
1
answer
27
views
How to fix Form Data via XHR returns 400 Bad Request
This is my code, quite simple. just a POST request to my api endpoint with FormData.
but for some unknown reason the api says the data is a bad request. i tested my api via curl and it works fine.
...
0
votes
1
answer
30
views
React RichText not showing in html format?
I've used React Quill for RichText Editor. And also saved data as html format. The Response shows in the Api like below:
"education": "<ul><li>Bachelor of Science (BSc) in ...
0
votes
0
answers
35
views
WordPress api call from react Express server hosted on render.com timeout issue
I have a SaaS software that sends an API call over HTTP to my WordPress site on my react Express server. When the server is hosted locally, I recieve a response from my API call successfully. When I ...
0
votes
0
answers
32
views
Springboot application and single page app: HTTP Status 405 – Method Not Allowed: post data not sent by browser
Configuring springboot for a single app page wasn't easy. I thought to meet a standard problem when debugging an react embedded in a springboot application. I read all the the posted questions about ...
0
votes
0
answers
26
views
Double model creation after payment in django website
I am currently working on Learning management course using Django and React .I am creating payment gateway using stripe . After the payment is successfully done , the courses should be called enrolled ...
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 ...
0
votes
0
answers
48
views
API Request Works on Client but Fails on Next.js Server
I'm encountering an issue where an API request works successfully on the client-side but fails on the server-side in my Next.js application.
"use server";
export const searchPlaces = (async ...
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 ...
0
votes
0
answers
25
views
Implementing Email Verification and Notification System in a Full-Stack Application with React Frontend and Node Backend
I have a full-stack application with a React frontend and a Node.js backend. In my application, I need to implement an email verification and notification system. Here's the workflow:
When a user ...
0
votes
2
answers
101
views
can someone help me understand why my api is not working?
So i have this register api created
@PostMapping("/register")
public ResponseEntity<String> register(@RequestBody RegisterRequest registerRequest){
if (userRepository....
0
votes
0
answers
21
views
How to add a body in a get API request just like its possible on Postman
I'm supposed to fetch course materials through this endpoint using GEThttp://localhost:8000/student/material but it has a body of { "batch":"DRB2401" } and it works on Postman, ...
0
votes
1
answer
76
views
Dynamic dropdown in Spring boot by retrieving data from MySQL database
As a beginner to spring boot I try to do dynamic dropdown in spring boot by retrieving data from MySQL database and using that dropdown in react by using rest api. how I can do dynamic dropdown for my ...
0
votes
1
answer
41
views
I am getting 'files are empty' with a 400 code
I am trying to upload images to strapi, what am I doing wrong here? am I putting the fileArrayForUpload in the wrong place? the fileArrayForUpload is not empty.
handleCreateSubmit:
const [...
0
votes
1
answer
23
views
How can I create individual routes in a React application for each item in a list of data fetched from an API
How can I make an API call for product information when clicking on each product, considering I have a list of products and their respective routes in a React application?
function App() {
const [...