Home >Web Front-end >JS Tutorial >FooApi Updates: Your All-in-One Fake API
FOOAPI update: new national geographical data and custom MOCK features!
Hi everyone! ?
This is the second article about FOOAPI published on Dev.to. FOOAPI is my personal project, which aims to quickly and easily provide test data and different data operation methods in one place. Here, you can find methods such as universal data, geographical data, images, and REST and GraphQL.
FOOAPI provides a variety of types of authentic simulation data:
In addition, I also added POST, PUT, PATCH, and Delete endpoints to urban data sets. You can freely explore and use these endpoints to simulate your geographical application.
Custom Mock function? /api/countries
/docs/countries
You can define the Request method
,status code
andresponse body , FOOAPI will create a endpoint and a custom ID (such as FOOAPI. COM/CUSTOM/ABCD1234
), and then you can send a request and test your custom response.
This end point expires after 1 hour, and then you need to create a new endpoint. During this period, you can edit the last end point by simply updating the value in the UI and click "Update Point". This is a preliminary version. Welcome to share your suggestions in the comments to make it better! Example:
I have created an account in buymeacoffee.com. If you want to support this project, you can donate here: buymeacoffee.com/carban donation will be used to maintain and improve the project.
thanks
In the end, I want to thank @urbanisierung, my
FOOAPIis included in the #66 news and communication of Weeklyfoo.com. There, you can find many excellent tools like me, as well as articles, news, tutorials and video recommendations.
The above is the detailed content of FooApi Updates: Your All-in-One Fake API. For more information, please follow other related articles on the PHP Chinese website!