Starting my career with PHP and jQuery, I keep on following new trends in software development and have since learned many new things like WordPress, Laravel, Node, React, Firebase, Flutter and so on.
Yes, we use JavaScript fetch for consuming API. Consuming is another term used to say that we have imported data from the given API. So basically, what we have done in our example of taking data from COVID API, we are essentially just consuming the COVID API.
As for other frameworks, as I mentioned above, there are other libraries that help you with fetching and sending data but overall they all work in a pretty similar manner.
Hope that helps
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi,
For consuming any API we use JavaScript fetch() or do we have any framework do consume api?
Thx
Yes, we use JavaScript fetch for consuming API. Consuming is another term used to say that we have imported data from the given API. So basically, what we have done in our example of taking data from COVID API, we are essentially just consuming the COVID API.
As for other frameworks, as I mentioned above, there are other libraries that help you with fetching and sending data but overall they all work in a pretty similar manner.
Hope that helps