I have an assignment to create a REST api’s that will manage job listings and possible applicants, the program must be backed by an SQL database and I am a bit lost on where to start could someone please help me? Answer you can approach this in a lot of ways, first of all you need to choose a backend
Tag: rest
I’m trying to use Javascript Fetch rest API in spring boot project by catogeryId
Hi im trying to get rest api data on html page by javascript fetch but i cant be able to fetch url categoryId can anyone help me out. Ill be so thank full of them.this is my Html page where i fetching my data This is my rest controller from where i m getting my data Answer As im already
Keep getting a DELETE 400 (Bad Request) with my REST API
So, I’ve created a API and I’ve got my POST and GET requests working, but I’m can’t get the DELETE request to work. I keep getting a ‘DELETE http://localhost:3000/api 400 (Bad Request)’ error in the console. Here is the delete section in my server file: Here is the button that executes the DELETE: It says that the bad request comes
Handling Mongoose Query Errors in Express.js
So let’s say I want to make a Mongoose query to a database, inside of an Express post route: app.post(“/login”,(req,res)=>{ const username = req.body.username const password = req….
Propper way of Error handling in a nodejs API server
I need to handle errors in my API server on node.js. I created a error handling module, which sends the errors (only in dev mode) to the API client in a JSON object similar to this: { “status&…
AWS S3 REST API “RequestTimeTooSkewed” Error
I am attempting to initiate a multipart upload to an s3 bucket directly from the browser by following the corresponding AWS Docs. However, I’m receiving the following response error:
Problem with fetching data from Spring Boot API endpoint using Java Script
I work on web application and encountered an issue with fetching data from an endpoint using Java Script. If I type endpoint adres in a browser it works perfectly fine but somehow it does not work in …
How to display comments from a JSON server using javascript and HTML?
I am making this website project where people can leave comments and the webpage will dynamically display the comments without reloading the page. My comments are stored in an array in my server in …
Im getting an error in my react and rest api app where one of my variables is coming back undefined
thank you for your time if youre reading this, im making a full stack app with react and rest api and im encountering an error as such: TypeError: errors is undefined submit UserSignUp.js:53 …
What is a good way to pass many parameters to controller?
I have an application on Java (Spring framework) and Javascript (AngularJs framework). There are list of objects in the table and two text fields for filtering this objects. Filtering happens on the …