Questions tagged [rest]
Representational state transfer, or REST, is an architectural style for networking software to transfer information through the web.
108
questions with no upvoted or accepted answers
5
votes
0
answers
200
views
Should custom Django Admin be separate from client endpoints?
I am currently in the process of creating a Django REST framework project for a client server web app. I would like to ask the following:
Should I write a custom admin if I want my app to be ...
5
votes
0
answers
2k
views
Understanding the data flow in Spring REST layered architecture
I am new to Spring as well as layered architecture. So am a bit confused as how data flows among the different layers.
What so far I have understood is:
Layers:
Controller (which accepts requests)
...
4
votes
0
answers
1k
views
How to implement SAML Authentication SPA and REST Backend
Developing a SPA (with VueJS) that is talking to our own REST API Backend(Separate server). Normal authentication flow in the SPA:
User credentials after submission are sent to the backend and if ...
4
votes
0
answers
115
views
Angular+RestAPI design: estimating backend load
I'd like to write an Angular2 application that consumes a REST API backend.
However I'm worried about the number of req/sec that such a request will generate, due to Angular "watches" or equivalent ...
4
votes
0
answers
139
views
Sharing identical events, with differing scopes, between client and server libraries, in a micro-service architecture
I have a shared user repository (id, name, e-mail, password, etc.) exposed as a REST service - and multiple independent websites accessing this REST service (from the back-end) as a means of sharing a ...
4
votes
0
answers
249
views
Architecture: mobile apps for different clients with their own dbs different servers?
My general feeling is that this is a question which must have been answered but I am struggling to find resources for it. I know little about mobile app dev but my knowledge of web services is pretty ...
3
votes
0
answers
295
views
When designing an activity-based authorization system, how should additional conditional checks be handled?
When designing an activity-based authorization system, how should additional conditional checks be handled?
For example, I have the following authority:
VIEW_COMPANY_TRANSACTIONS
which allows the ...
3
votes
0
answers
1k
views
How to model an Admin View on a ReST API
We have a more or less "typical" ReST API that allows clients to interact with a bunch of resources, let's say Maps and Devices. An authenticated client can get a list of maps, it can download a map, ...
3
votes
0
answers
165
views
Should I strictly follow restful guidelines
I have the following resources in my Asp.net web API:
route: consisting of the following relevant properties
arrival_location_id
leaving_location_id
and location:
id
name
coordinates
The thing is,...
3
votes
0
answers
62
views
Cache updates after not related REST request completes
I am wondering about the following scenario - it's in the land of Spring/AOP and Ehcache.
Happens in REST Web Application - REST/Service/DAO layers - I have objects in cache (@Repository + @Cacheable)....
3
votes
0
answers
2k
views
Separation of web server and stateless REST API
Currently, I have a single Node server that provides both (a) stateless API routes returning JSON, and (b) session-based web routes. My API routes and web routes have started sharing a lot of code, ...
3
votes
0
answers
71
views
Android network Lib development
I have to develop an Android library that should frequently communicate with a server in the background. Access to the lib Object should be guaranteed everywhere in the Apps that will use it, so I ...
2
votes
0
answers
38
views
Populating form options in dynamic web form
I am looking for advice on database design for a web app I am building.
In the web app (Angular, REST API, Oracle SQL database), I am constructing a web form dynamically. I chose dynamic form ...
2
votes
0
answers
34
views
OAuth2 - client_credentials
I am in the process of building out a private REST API. This API is intended for machine to machine communication. In short someone else's server will kick off a job via CRON that pulls information ...
2
votes
0
answers
249
views
How to define REST endpoint for subresource of not saved resource
I have REST API for my SPA application.
My domain model has Order entity, it has Commission property which calculated on backend, it is number value
For get Order entity SPA calls this endpoint, this ...