X
X
xllnc2019-09-10 12:11:58
JavaScript
xllnc, 2019-09-10 12:11:58

Where to make a GET request in NodeJS or JS?

When I made an Android program, I sent a GET request to any API via Retrofit2, right in the client, creating a class and an interface.
Now I'm trying to make a web, I use the headhunter api to get vacancies in the form of JSON.
And the question is, where do I need to make a request in the client, i.e. directly from the JS script, or in the NodeJs backend, by the way, which I am also trying to use, and then transfer this data to the front?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2019-09-10
@Blackeyed7

If this data is needed only for display in the front, make a request in the front

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question