Skip to content

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.

Notifications You must be signed in to change notification settings

Equilapi/json-placeholder-api-nodejs

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

No packages published