Skip to content

Equilapi/json-placeholder-api-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-placeholder-api

Data Simulation REST API, where you will find two options that are employees and products. Here you can add, edit, delete and get details via SKU or ID. This data allows you to view it in the applications or website that you are developing.

¿How to apply it?

When you go to implement this API in your project you can connect for example with axios, fetch, ajax among others.

Connection using Axios

After installing axios dependency in your project you have to do this:

To get all the data:
axios .get('https://json-placeholder-api.herokuapp.com/api/v1/employees').then(response => (response.data))

About

Data Simulation REST API, where you will find two options that are employees and products. Here you can add, edit, delete and get details via SKU or ID. This data allows you to view it in the applications or website that you are developing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors