Thursday 28 November 2019

What should I know to do this with an API?

Trying to learn Node, what should I learn to work like that:This url https://jsonplaceholder.typicode.com/posts/ load all posts. After the / I can insert any number to load specific data.My question is: how to load data using Node with own url? Eg: myurl.com/posts load https://jsonplaceholder.typicode.com/posts and myurl.com/posts/1 load https://jsonplaceholder.typicode.com/posts/1. I think it's like an api gateway.

Submitted November 28, 2019 at 12:52PM by IllustriousFeedback2

No comments:

Post a Comment