F
F
frontendo2017-09-02 20:13:26
css
frontendo, 2017-09-02 20:13:26

How to correctly implement the loading of field parameters using the REST API methodology?

after reading about the REST API, I realized that most of the people I implement access to manipulating entities through various methods for an http request. That is, we read using get, creating - post, changing - put, deleting - delete. Well, here's the question. Suppose the application requested data via a get request, and then the user decided to change it, for this you need to show him the form. And before displaying it, it must be built on the basis of some data, that is, which field will be the input, which select (it is necessary to form options there), etc.
I consider it wrong to store all this data in the client application, since the api is always evolving and then it is very painful to maintain a bunch of client software versions

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ragtime Kitty, 2019-05-13
@Amon_IT

Through SVG, you can inline, you can just a picture:
Frame dimensions throughstroke-dasharray='length gap' stroke-width='3'

D
Dmitriy, 2019-05-13
@Dmitriy0704

For a circle must be equal height , width p Border radius. This will give a circle.
Next, set the color and thickness of the frame
Box shadow - box shadow: 0 0 5px rgba(x,x,x,0.5)
Instead of x, you need to specify a color in rgb format 0-255.
You can try to get the text in the center of the circle as follows.
Vertical align with line height.. just over the height value.. have to try.. horizontally with text align.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question