Best of REST API — 2024
- 1
- 2
Hacker News·2y
Free Public APIs
A collection of free public APIs with high health scores that offer a variety of functionalities including IP geolocation, data on Rick and Morty characters, UK postcode lookup, Kanye West quotes, Harry Potter characters and spells, useless facts, weather data, holidays information, and more. These APIs support REST and sometimes GraphQL endpoints, providing reliable and valuable data for developers.
- 3
Community Picks·2y
Understanding APIs: 10 API Concepts and Examples
APIs are vital in enabling communication between applications and data. This post explains the basics of APIs, types such as Public, Private, and Partner APIs, and details both REST and SOAP APIs. Key principles of REST APIs, differences between JSON and XML, HTTP methods, and essential concepts of API endpoints are covered. It discusses API security with authentication and authorization, and how to test APIs effectively using tools like Postman, cURL, and Swagger.
- 4
Community Picks·2y
Don't query your PostgreSQL db anymore, prefer PostgREST
The post discusses the benefits of using PostgREST to replace traditional SQL queries in PostgreSQL databases. It outlines the process of setting up PostgREST, a standalone web server that converts PostgreSQL databases into RESTful APIs, simplifying database interactions. The author shares their experience migrating from MySQL to PostgreSQL and how PostgREST helped streamline their PHP code by eliminating direct SQL queries. The post includes a tutorial on setting up and using PostgREST with Docker, illustrating various query examples and security considerations.
- 5
- 6
Awesome Go·2y
Complete Backend Engineering Course in Go
This course offers a comprehensive guide to backend engineering in Go, covering the creation of a RESTful API from scratch to deployment. It spans from basic concepts like creating a low-level TCP server to advanced topics like authentication, authorization, caching, logging, CI/CD, and deployment to Google Cloud. The course emphasizes understanding core principles, design patterns, and best practices for API development, including the repository pattern, clean architecture, optimistic concurrency control, and more. A free, initial module is available, along with a GitHub repository for further exploration.
- 7
freeCodeCamp·2y
Comprehensive NestJS Course
Learn NestJS and master the creation of robust backend APIs for real-world applications with a comprehensive course on freeCodeCamp.org. The course covers database design, REST API development, authentication, authorization, GraphQL, WebSocket integration, and more.
- 8
- 9
- 10
Awesome·2y
The Right Way To Build REST APIs
REST APIs are essential for web development, enabling smooth data exchange between servers and clients. The correct design involves following key principles like statelessness, proper URI structuring, using HTTP verbs appropriately, and ensuring security measures such as HTTPS and token-based authentication. Additionally, effective error handling and versioning are crucial for maintaining API reliability and scalability. Understanding these concepts can lead to building performant and quality REST services.
- 11
ITNEXT·2y
Why is gRPC so much faster than a JSON-based REST API?
gRPC is faster than a JSON-based REST API primarily due to its use of HTTP/2 and Protobuf. HTTP/2 reduces request wait times through asynchronous requests and connection reuse. Protobuf, being binary-based, is more compact and faster during serialization/deserialization compared to JSON. While gRPC offers significant performance benefits, it also introduces complexities in load distribution, troubleshooting, and managing contracts. It's recommended for scenarios needing high performance and capable of handling its complexities, though REST + JSON remains a viable option.
- 12
- 13
Awesome Go·1y
Mastering Modern APIs with Go: From Basics to Best Practices🌐💻🚀
APIs are crucial for modern software development, acting as intermediaries that allow different systems to communicate. This guide explores how to build and consume APIs using Go, highlighting key concepts such as endpoints, HTTP methods, and data formats. It also provides best practices for error handling, security, and rate limiting and includes practical steps for setting up, writing, and testing API code in Go.
- 14
Substack·2yGraphQL Explained
GraphQL is a modern query language and server-side runtime that offers a more efficient, powerful, and flexible alternative to traditional REST APIs. It allows clients to request exactly the data they need through a single endpoint, supports real-time updates, and uses a strongly typed schema to ensure predictable and reliable queries. These features make it a popular choice for contemporary web development.
- 15
- 16
- 17
- 18
Milan Jovanović·2y
Refit in .NET: Building Robust API Clients in C#
Refit is a type-safe REST library for .NET that simplifies interacting with APIs by turning them into interfaces. This reduces boilerplate code, handles serialization automatically, and makes API calls more readable and maintainable. The post provides steps to set up Refit, including installing necessary packages, defining an interface for API calls, configuring dependencies, and handling query parameters, headers, and authentication. Refit also offers options for JSON serialization and more control over HTTP responses.
- 19
- 20
DEV·1y
The All-in-One Fake API for developers.
FooApi is an emerging platform providing realistic dummy data for various categories like users, products, posts, comments, to-dos, images, movies, and geo-coordinates for cities and countries. Developers can access this data through REST endpoints and GraphQL queries to mock their projects and ideas. The project is still under development, and updates are periodically shared. Users can practice queries on the playground provided on the site.
- 21
Machine Learning News·1y
Meet Steel.dev: An Open Source Browser API for AI Agents and Apps
Steel.dev is an open-source tool that simplifies web automation for AI applications by abstracting complex browser interactions through a RESTful API. It reduces the need for detailed scripts and expertise in frameworks like Puppeteer, Selenium, and Playwright. The tool features a modular architecture that allows easy management and interaction with headless browsers, facilitating tasks such as data extraction and form completion while ensuring scalability for large-scale projects.
- 22
Nick Chapsas·2y
Forget Controllers and Minimal APIs in .NET!
Learn how to get started with building APIs in .NET using the alternative to controllers and minimal APIs called Fast End Points. Fast End Points is a developer-friendly alternative that nudges you towards the request and response pattern and offers better performance than controllers. Discover the basic registration process and how to implement endpoints for getting all movies, getting a single movie, and creating a movie.
- 23
Pointer·2y
Orange-OpenSource/hurl: Hurl, run and test HTTP requests with plain text.
Hurl is a command line tool that runs HTTP requests defined in a simple plain text format. It can be used to fetch data, test HTTP sessions, and work with HTML content, REST/JSON APIs, GraphQL, and SOAP APIs. Hurl can also be used to test performance, check response bytes, integrate in CI/CD, and more. It is powered by the curl library and provides a fast and efficient way to perform HTTP requests.
- 24
Real Python·2y
Interacting With REST APIs and Python – Real Python
The post outlines a comprehensive video course on interacting with REST APIs using Python. It covers the REST architecture, methods to consume data from REST APIs using the `requests` library, steps to build your own REST APIs, and popular Python tools for API development. The course includes 15 lessons, subtitles, transcripts, downloadable resources, and a Q&A section with Python experts.
- 25
Laravel News·2y
Laravel Rest Api now supports Laravel Scout
Laravel Rest Api now natively integrates with Laravel Scout, enabling full text search from the front-end by specifying 'search.text.value' in API requests. This feature supports other Laravel Rest Api capabilities such as filters, sorts, selects, includes, aggregates, and pagination, making it a powerful tool for managing APIs in Laravel.
