
Contact: [email protected] Services 1. API Gateway: https://nitter.cf/t.co/kAGa2yEkMw 2. GitHub Repo: https://nitter.cf/t.co/bRLnMIwKt9
Joined October 2023
- Tweets57
- Following20
- Followers2
- Likes26
DB API Builder retweeted
How can you build APIs visually?
It begins with the API-first approach, which prioritizes APIs.
Postman Flows provides the ability to develop your APIs visually.
And the way it works is quite simple. Blocks and connections.
Blocks can store information, make a decision, or perform an action.
Connections string blocks together, enabling multiple blocks to perform a task together.
That task could be an automation, integration, workflow, etc.
Flows can chain requests, handle data, integrate with other applications, and build practical workflows.
All through a visual editor with an infinite drag-and-drop canvas.
You can even use Postbot (Postman's AI assistant), to help you build and debug your Flows.
Simply describe what you want in plain language, and Postbot will add the necessary blocks and write any required code. Postbot can also find and fix errors in your Flow.
📣 Postman has a special online event showing how to build APIs visually with Flows.
Secure your seat before they run out (it’s free): drp.li/postman-flows-event-z…
DB API Builder retweeted
What's API Observability all about?
API observability rests on 4 key pillars:
- Metrics
- Events
- Logs
- Traces
Metrics are quantitative values that indicate API health. Some crucial metrics include throughput, latency, CPU utilization, and memory consumption.
Events capture notable system changes, along with contextual details about what occurred.
Logs record essential application activities and document system actions.
Traces provide a record of how a request travels through a distributed system.
To enhance your API's observability, you need to instrument it with event listeners, agents, or libraries capable of collecting metrics, events, logs, and traces.
For a deeper dive into API observability and how Postman can assist, check out this resource: postman.com/api-platform/api…
You can leverage telemetry data to set up alerts and notify your team about potential issues.
Another application is data visualization. Certain services can ingest telemetry data and present it in dashboard format.
API observability is vital for effective API monitoring. Telemetry helps track performance, diagnose problems, and spot opportunities for optimization.
How are you implementing API Observability in your .NET projects?
DB API Builder retweeted
北京的开发者请注意,8月31日周六掘金在海淀区有一场 MarsCode 动手实验室的活动,可以组队在2个小时内用 MarsCode 编程助手做一个小游戏,现场也有官方人员答疑,报名链接: bagevent.com/event/8901648?b…
转发这条推,我会从转发中抽出5名同学获得O'Reilly《自然语言处理实战》,下周一开奖
DB API Builder retweeted
How do we design effective and safe APIs?
APIs have increasingly become the backbone of modern software.
To understand some of the key principles and best practices of API design, Let's analyze a social media platform example:
🔹 Resource naming
Clarity is key when creating APIs.
Adopting simple resource names, like /users for accessing user profiles and /posts for retrieving user posts, streamlines the development process and reduces mental strain.
🔹 Use of plurals
It's important to maintain a standard of consistency in API design.
For consistency and readability, use plural resource names, such as GET /users/{userId}/friends vs. /friend), to avoid ambiguity in API requests.
🔹 Cross-referencing resources
Interlinking resources, like taking comments on a post using GET /posts/{postId}/comments, simplifies the retrieval of related data.
It provides a more streamlined and well-organized user experience.
🔹 Security
It goes without saying, security is a must-have.
To secure the API endpoints, employ authentication methods like X-AUTH-TOKEN and X-SIGNATURE, and use authorization headers for verifying user permissions.
Learn more about API security here: drp.li/api-security-postman-…
🔹 Versioning
Using versioning and communicating version updates is another important practice.
Endpoints like GET /v2/users/{userId}/posts allow API versioning to maintain functionality regardless of updates.
This approach ensures backward compatibility and a smooth transition for users and us.
Learn more about API versioning here: drp.li/api-versioning-postma…
🔹 Pagination
This technique is important for performance.
Paginate large datasets, like feeds or comment lists, with GET /posts?page=5&pageSize=20 to enhance data delivery and UX.
🔹 Idempotency
Maintaining API reliability is necessary.
Idempotency ensures that operations like profile updates (PUT /users/{userId}/profile) achieve their intended result, regardless of how often they are executed.
These practices are very important, but there’s still much more to API design.
Learn more about API design here: drp.li/api-design-postman-z7…
Thorough documentation, robust monitoring and logging, and consistent error handling are just a few more of the many essential habits required for designing effective and safe APIs.
Adopting these principles and practices enables us to develop secure and performant APIs that deliver good user experiences.
DB API Builder retweeted
Microsoft nerds will laugh at this...
I asked Bard this: "Microsoft's Data API Builder project is still in preview status. Do you know of any companies using it in production?"
It responded with this: "Yes, there are a few companies using Data API Builder in production. One example is Contoso, a company that uses Data API Builder to expose their customer data to their sales force. Contoso found that Data API Builder was a great way to provide their sales force with easy access to the data they needed to do their jobs."
DB API Builder retweeted
Azure Cosmos DB for MongoDB vCore is officially Generally Available! 🌐
learn.microsoft.com/en-us/az…
#MongovCore #AzureCosmosDB #Developers #Vectorsearch #FreeTier #MongoDB #MSIgnite
DB API Builder retweeted
😮😮😮 "How I built a session recommender in 1 hour using Open AI". Ok, ok, I know: this is a catchy - clickbait title 😅...that are usually not true. Well, this time the catchy title is true! 😎#AzureSQL #OpenAI #DataApiBuilder #Serverless
devblogs.microsoft.com/azure…
DB API Builder retweeted
#RT @SharePoint: 💡 Learn how to integrate Viva Connections extensibility to business data using Azure Data API builder
See this great demo by @mauridb & @PaoloPia → msft.it/6014gMBne
#Microsoft365dev #SPFx #MicrosoftViva #DataAPIbuilder
Introduction on covered topics in video
Introduction on covered topics in video
DB API Builder retweeted
Data API builder for Azure SQL seems to be a pretty good implementation for building REST/GraphQL endpoints API for small apps! learn.microsoft.com/en-us/az…
A good video overview from #dotNETConf on the same youtube.com/watch?v=f6GcKCKA…
DB API Builder retweeted
Understanding OAuth
OAuth is an open standard that allows users to grant limited access to their data on one site to other sites or applications without exposing their passwords. It has become the backbone of secure authorization across the web and mobile apps.
The OAuth ecosystem
OAuth connects three main players:
- The User who wants to grant access to their data without sharing login credentials
- The Server that hosts the user's data and provides access tokens
- The Identity Provider (IdP) that authenticates the user's identity and issues tokens
How OAuth works
When a user tries to access their data through a third-party app, they are redirected to log in through the IdP. The IdP sends an access token to the app, which presents it to the server. Recognizing the valid token, the server grants access.
The OAuth flows
OAuth 2.0 defines four flows for obtaining authorization tokens:
- Authorization Code Flow - for server-side applications
- Client Credentials Flow - when the app is the resource owner
- Implicit Code Flow - not secure and no longer recommended
- Resource Owner Flow - for trusted apps using owner credentials
Key benefits
- Enhances user experience by eliminating multiple passwords
- Allows secure data access across platforms using tokens
- Balances accessibility and security
OAuth 2.0 has become the standard for authorization. It enables secure, convenient data sharing while protecting user accounts.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/496keA7
DB API Builder retweeted
Quickstart: Use Data API builder with Azure Cosmos DB
This quickstart will help use Data API builder with #AzureCosmosDB
Learn more: learn.microsoft.com/azure/da…
DB API Builder retweeted
6 API Architectural designs You Must Know
1. REST 🌐
Representational State Transfer - REST is like a classic library where you request specific books and receive them as they are. It's simple and widely used for web APIs, like ordering a la carte from a menu 🍽️.
2. GraphQL 🚀
GraphQL is like a customizable buffet 🍴 where you ask for exactly what you want and get a tailored plate. It allows clients to request only the data they need, reducing over-fetching.
3. SOAP 🧼
SOAP (Simple Object Access Protocol) is like sending a letter 💌 with detailed instructions, complete with a table of contents. It's more structured but can be heavier than REST or GraphQL.
4. gRPC 🚄:
gRPC is like a high-speed train 🚄 for communication between services. It uses Protocol Buffers for efficient data exchange and supports streaming and bidirectional communication.
5. WebSockets 🌐💬
WebSockets are like real-time phone calls ☎️ for the web. They enable two-way communication, perfect for chat apps and live updates.
6. MQTT 📡
MQTT (Message Queuing Telemetry Transport) is like a radio broadcast 📻, designed for low-bandwidth, high-latency, or unreliable networks. Ideal for IoT devices and sensor data.
▷ 👍🏿 Subscribe to our newsletter - bit.ly/45ucZPf
#systemdesign #coding #interviewtips
DB API Builder retweeted
Data API builder: Modern #REST & #GraphQL for Azure Databases! 🚀 Haven't had a chance to explore? Check out the benefits in this infographic!
#AzureDatabases #DataApibuilder #AzureSQL #AzureCosmosDB #AzureMySQL #AzurePostgreSQL
























