During your development, you might want to know whether your code was suitable for different kinds of API methods like GET, POST, DELETE, PUT and so on. The tradition way may be writing simple code to construct them in your localhost. But this work may be complicated. So, using the free fake api service will be the good choice for you.
https://jsonplaceholder.typicode.com/
https://reqres.in/
https://httpbin.org/
https://mock.codes/
https://randomuser.me/