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

Questions tagged [rest]

REST (REpresentational State Transfer) is a simple stateless architecture that generally runs over HTTP. It is an "architectural style" that basically exploits the existing technology and protocols of the Web, including HTTP (Hypertext Transfer Protocol) and XML. REST is easy to use than the well-known SOAP (Simple Object Access Protocol) approach.

4 votes
1 answer
339 views

API Generator for Python [closed]

I'm currently working on my thesis to obtain a bachelor in software engineering, and i want to get some feedback from real developers of how useful this project can be in the real life. the project is ...
Hernandez Sinsel Jesus Emmanue's user avatar
0 votes
0 answers
31 views

Seeking Feedback on React Authentication System Implementation

I've developed a React authentication system for my application and would like to receive feedback on its correctness and potential improvements. Below is an overview of the key components and ...
Avishka Dambawinna's user avatar
2 votes
1 answer
58 views

Users CRUD in fastapi using pymongo

I am building users API with CRUD operation in fastapi and i'd love to hear feedback about it. I have been exploring fastapi in the past weeks and im trying to create API with best practice (scalable -...
Paul's user avatar
  • 23
1 vote
0 answers
44 views

Making my code shine and pro: Python in Azure Function Retrieveing the Data From Rest API

The code retrieves the data from PBI API - it's my first one and I would like to learn how to make it pro. Here is the list of my questions: Can you please analyze 2 functions: GetReports and ...
user1956634's user avatar
0 votes
0 answers
26 views

General setup for ASP.net REST webapi

I am currently building a REST webapi. Right now I am wondering if this design is in the right direction. Firstly, I am using entity framework. I like to call the items in the database DbItems. The ...
Bas Visscher's user avatar
2 votes
2 answers
67 views

Spring Boot REST API for moving toy robot in 5*5 grid [closed]

I have designed and coded REST APIs to move the toy robot in 5*5 grid. Please let me know any feedback on improvements, etc Complete Code here: https://github.com/pkkht/RobotRESTApp ...
Hariharan's user avatar
2 votes
1 answer
394 views

blog RESTFUL api with posts and comments

I built RESTFUL api for a blog using java and spring boot(without a frontend). What it does the code manages all the http methods on a post inside the blog and comments on that post. the post consists ...
Ellie's user avatar
  • 549
0 votes
1 answer
220 views

is my code protected against SQL injections?

im using spring boot and CrudRepository for my queries, the project is about posting content on a blog, so I have a post record with id, creator name, post name, the content itself likes and dislikes: ...
Ellie's user avatar
  • 549
2 votes
1 answer
119 views

Action argument supporting multiple units as string

I've got a controller with two actions that need to support two units: hours & times. The url should read like this: ...
t3chb0t's user avatar
  • 44.3k
1 vote
1 answer
78 views

Rest API design with Spring Boot

In a recruitment interview I got this small projet to do at home: rest API written in Java using Spring Boot. As I didn't hear back from the company I wanted to have feedback from review. I am a rest ...
Dimitar Angelov's user avatar
1 vote
1 answer
64 views

Code to save account details and register based on payload

I have this flow for registering a user. They send an empty user account no to get a temp account no which then they use for verifying the OTP by email and phone. Both done they should register ...
rest_easy's user avatar
1 vote
1 answer
68 views

A test class for a REST application

Here's a suite of integration tests for my REST controller. Among other things, it reflects my efforts to reduce code duplication First, I introduced some class fields. ...
Sergey's user avatar
  • 581
1 vote
2 answers
178 views

Search/Query API cross parameter check

Background I was working on a coding challenge as part of an interview process. I had to create a REST API where the user can report sensor data and query derived metrics based on several filter ...
Peter Csala's user avatar
  • 9,373
4 votes
1 answer
108 views

Spring REST Endpoint for Saving a User Inquiry

Here's a piece of code from codebase I maintain/contribute to. It is a Spring REST controller, which exposes an endpoint to create user question. The question consists of title, description and ...
Sergey's user avatar
  • 581
2 votes
1 answer
186 views

Python REST API Calls Structuring

I am writing a python REST API library for Starburst and am trying to figure the best way to structure the code so it's dry but also easy to understand. Below is an example of code that is not dry. ...
Ann Nguyen's user avatar

15 30 50 per page
1
2 3 4 5
18