How do developers send/request/receive data between front-end and back-end?
Go to solution
Solved by igormp,
You use HTTP request, mostly GET (to retrieve data) and POST (to upload/modify stuff) (there are other verbs that are better suited to deletion/creation/modify, but let's simplify stuff here). With get requests you usually just say which content you want through query parameters, just as: example.com/?userName=DefinitelyRus&postCount=1
With POST requests, you also throw in some data in the body to do some processing on the backend, such as some json data that you can read on your backend and know what do to with it.
Mozilla has nice documentation on how everything works: https://developer.mozilla.org/en-US/docs/Web/HTTP

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now