{"id":"6b09a4b1ff996234422a266a","slug":"api-security","title":"API security in practice – OWASP API Security Top 10, BOLA, JWT, mass assignment, rate limiting and webhook signatures (NestJS, Express)","summary":"The pierogi shop's API serves a mobile app, an in-store kiosk and a courier company's webhooks. We go through the OWASP API Security Top 10 (2023 edition) with working code – object and function level authorization in NestJS, JWT verification with jose, protection against mass assignment, rate limits, signed webhooks with replay protection, safe consumption of third-party APIs and secrets that never reach the logs.","servedLang":"en","availableLangs":["pl","en"],"topics":["api-security","authentication","nestjs","express"],"techs":["node","typescript"],"tags":["owasp-api-security-top-10","bola","bfla","mass-assignment","jwt","jose","rate-limiting","webhooks","hmac","nestjs","express","zod","pino"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":18,"stats":{"views":1,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T15:41:37.635Z","updatedAt":"2026-11-27T17:30:43.313Z","requestedLang":"en","theme":{"hero":"classic","heroMedia":null,"accent":"rose","background":"dots","weaveResources":true,"toc":"right"},"seoDescription":"REST API security – OWASP API Security Top 10 2023 (BOLA, Broken Authentication, BOPLA, Unrestricted Resource Consumption, BFLA, SSRF, Security Misconfiguration, Improper Inventory Management, Unsafe Consumption of APIs), JWT verification (jose, alg, aud, exp), mass assignment (ValidationPipe, zod),","wordCount":3507,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"The pierogi shop's API has three main clients today: a mobile app, an ordering kiosk in the restaurant and a courier company that sends webhooks about delivery status. An API has no UI that \"hides\" buttons – every endpoint is available to anyone who can send an HTTP request. That's why OWASP maintains a separate risk list for APIs. In this tutorial we go through it with code I ran locally – together with the server's real responses."}]},{"type":"callout","attrs":{"variant":"info","title":"In a nutshell"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Authorization on every object and every function.","marks":[{"type":"bold"}]},{"type":"text","text":" BOLA (access to other people's objects) and BFLA (access to other people's functions, e.g. admin ones) are together the most common API vulnerabilities."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Trust only what you've verified.","marks":[{"type":"bold"}]},{"type":"text","text":" A JWT: an allowlisted algorithm, issuer, audience, lifetime. A body: only DTO fields, unknown fields are an error. A third-party API response: validate it like user input."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Every resource has a budget.","marks":[{"type":"bold"}]},{"type":"text","text":" Rate limits per client and per operation, body size, pagination, timeouts – otherwise one script will exhaust your database, queue and bill."}]}]}]}]},{"type":"callout","attrs":{"variant":"tip","title":"What you will build"},"content":[{"type":"paragraph","content":[{"type":"text","text":"A NestJS orders module with an ownership check (BOLA), a roles guard (BFLA), DTOs with "},{"type":"text","text":"ValidationPipe","marks":[{"type":"code"}]},{"type":"text","text":" (mass assignment) and "},{"type":"text","text":"@nestjs/throttler","marks":[{"type":"code"}]},{"type":"text","text":" limits; JWT verification with jose plus a demo showing tokens rejected for "},{"type":"text","text":"alg: none","marks":[{"type":"code"}]},{"type":"text","text":", the wrong audience and expiry; a profile endpoint with input and output validation (zod); limits in express-rate-limit with "},{"type":"text","text":"RateLimit","marks":[{"type":"code"}]},{"type":"text","text":" headers; webhook reception with an HMAC signature, a time window and idempotency; a logger that redacts secrets. Download the code (9 files) as a ZIP."}]}]},{"type":"paragraph","content":[{"type":"text","text":"Prerequisites:","marks":[{"type":"bold"}]},{"type":"text","text":" NestJS or Express ("},{"type":"text","text":"NestJS tutorial","marks":[{"type":"link","attrs":{"href":"/en/articles/nestjs"}}]},{"type":"text","text":", "},{"type":"text","text":"Express tutorial","marks":[{"type":"link","attrs":{"href":"/en/articles/express"}}]},{"type":"text","text":"), JWT and OAuth basics ("},{"type":"text","text":"authentication tutorial","marks":[{"type":"link","attrs":{"href":"/en/articles/authentication"}}]},{"type":"text","text":"), TypeScript."}]},{"type":"stats","attrs":{"items":[{"value":"2023","label":"current edition","hint":"OWASP API Security Top 10"},{"value":"API1","label":"BOLA","hint":"object level authorization – number 1"},{"value":"15 min","label":"max access token age","hint":"in this tutorial"},{"value":"5 min","label":"webhook signature window","hint":"an older request = a suspected replay"}]}},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"ID"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Risk (2023)"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"In short"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Where in this tutorial"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API1"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Broken Object Level Authorization"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"someone else's order after changing the ID"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"NestJS – BOLA"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API2"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Broken Authentication"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"weak token verification, no login limits"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"JWT with jose"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API3"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Broken Object Property Level Authorization"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"mass assignment and too many fields in responses"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"DTOs, zod"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API4"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Unrestricted Resource Consumption"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"no limits on requests, size, pagination"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"rate limiting"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API5"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Broken Function Level Authorization"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"a customer calls a staff endpoint"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"roles guard"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API6"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Unrestricted Access to Sensitive Business Flows"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"bots buying up a limited offer"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"business limits"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API7"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Server Side Request Forgery"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"the API fetches a URL supplied by the client"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"OWASP Top 10","marks":[{"type":"link","attrs":{"href":"/en/articles/owasp-top-10-in-practice"}}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API8"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Security Misconfiguration"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"CORS, detailed errors, no TLS"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"headers, CORS"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API9"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Improper Inventory Management"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"forgotten versions and \"shadow\" APIs"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"OpenAPI, versions"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"API10"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Unsafe Consumption of APIs"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"blind trust in a partner's responses"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"webhooks, validation"}]}]}]}]},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart LR\n  C([Client: app, kiosk, courier]) --> W[WAF / CloudFront<br/>per-IP limits]\n  W --> AU[Authentication<br/>JWT or HMAC signature]\n  AU --> RL[Limits per client<br/>and per operation]\n  RL --> V[DTO validation<br/>field whitelist]\n  V --> AZ[Authorization<br/>function + object]\n  AZ --> BL[Business logic]\n  BL --> OUT[Response shape<br/>public fields only]\n  BL -.events, no secrets.-> LOG[(Logs)]","caption":"A request's path through the pierogi API's layers of defence"}},{"type":"heading","attrs":{"level":2,"id":"api1-and-api5-object-and-function-authorization-nestjs"},"content":[{"type":"text","text":"API1 and API5: object and function authorization (NestJS)"}]},{"type":"paragraph","content":[{"type":"text","text":"BOLA","marks":[{"type":"bold"}]},{"type":"text","text":" is IDOR in the API world: "},{"type":"text","text":"GET /orders/{id}","marks":[{"type":"code"}]},{"type":"text","text":" returns an order without checking whether it belongs to the caller. "},{"type":"text","text":"BFLA","marks":[{"type":"bold"}]},{"type":"text","text":" is the same for functions: a customer calls "},{"type":"text","text":"PATCH /orders/{id}/status","marks":[{"type":"code"}]},{"type":"text","text":", meant for kitchen staff, because the endpoint only checked that someone was logged in."}]},{"type":"codeGroup","attrs":{"title":"NestJS orders module: owner, roles, DTOs and limits"},"content":[{"type":"codeBlock","attrs":{"language":"typescript","filename":"src/orders.module.ts"},"content":[{"type":"text","text":"import {\n  Body, CanActivate, Controller, ExecutionContext, ForbiddenException, Get, Injectable, Module,\n  NotFoundException, Param, ParseUUIDPipe, Patch, Req, SetMetadata,\n} from '@nestjs/common';\nimport { APP_GUARD, Reflector } from '@nestjs/core';\nimport { Throttle, ThrottlerGuard, ThrottlerModule } from '@nestjs/throttler';\nimport { IsIn, IsOptional, IsString, MaxLength } from 'class-validator';\n\ninterface User { id: string; role: 'customer' | 'staff' | 'admin' }\ninterface Order { id: string; customerId: string; status: string; total: number; note?: string }\ntype AuthedRequest = { user: User }; // set by the JWT guard (verifyAccessToken)\n\nexport const Roles = (...roles: User['role'][]) => SetMetadata('roles', roles);\n\n/** API5 BFLA: endpoints marked @Roles(...) are closed to everyone else. */\n@Injectable()\nclass RolesGuard implements CanActivate {\n  constructor(private readonly reflector: Reflector) {}\n  canActivate(ctx: ExecutionContext): boolean {\n    const roles = this.reflector.getAllAndOverride<User['role'][]>('roles', [ctx.getHandler(), ctx.getClass()]);\n    if (!roles) return true;\n    const { user } = ctx.switchToHttp().getRequest<AuthedRequest>();\n    if (!roles.includes(user.role)) throw new ForbiddenException();\n    return true;\n  }\n}\n\nclass UpdateNoteDto {\n  @IsOptional() @IsString() @MaxLength(300) note?: string;\n}\nclass UpdateStatusDto {\n  @IsIn(['preparing', 'ready', 'collected']) status!: string;\n}\n\n@Injectable()\nclass OrdersService {\n  private readonly orders = new Map<string, Order>([\n    ['0b9c6a1e-2f4d-4c55-9a7e-3c1f8d2b6a10', { id: '0b9c6a1e-2f4d-4c55-9a7e-3c1f8d2b6a10', customerId: 'cus_42', status: 'new', total: 64.5 }],\n    ['7d41e2c3-8a9b-4f0e-b6d5-1a2b3c4d5e6f', { id: '7d41e2c3-8a9b-4f0e-b6d5-1a2b3c4d5e6f', customerId: 'cus_77', status: 'new', total: 38 }],\n  ]);\n  /** API1 BOLA: the owner is part of the lookup, not an afterthought. */\n  findForCustomer(id: string, customerId: string) {\n    const order = this.orders.get(id);\n    return order?.customerId === customerId ? order : undefined;\n  }\n  findAny(id: string) { return this.orders.get(id); }\n}\n\n@Controller('orders')\nclass OrdersController {\n  constructor(private readonly orders: OrdersService) {}\n\n  @Get(':id')\n  get(@Param('id', ParseUUIDPipe) id: string, @Req() req: AuthedRequest) {\n    const order = this.orders.findForCustomer(id, req.user.id);\n    if (!order) throw new NotFoundException();\n    return order;\n  }\n\n  // API3: the DTO has only \"note\" – \"status\" or \"total\" in the body is rejected by the ValidationPipe.\n  @Patch(':id/note')\n  updateNote(@Param('id', ParseUUIDPipe) id: string, @Body() dto: UpdateNoteDto, @Req() req: AuthedRequest) {\n    const order = this.orders.findForCustomer(id, req.user.id);\n    if (!order) throw new NotFoundException();\n    order.note = dto.note;\n    return order;\n  }\n\n  // API5 + API4: staff only, with a tighter rate limit than the global one.\n  @Patch(':id/status')\n  @Roles('staff', 'admin')\n  @Throttle({ default: { limit: 30, ttl: 60_000 } })\n  updateStatus(@Param('id', ParseUUIDPipe) id: string, @Body() dto: UpdateStatusDto) {\n    const order = this.orders.findAny(id);\n    if (!order) throw new NotFoundException();\n    order.status = dto.status;\n    return order;\n  }\n}\n\n@Module({\n  imports: [ThrottlerModule.forRoot([{ ttl: 60_000, limit: 100 }])], // API4: a global budget per client\n  controllers: [OrdersController],\n  providers: [\n    OrdersService,\n    { provide: APP_GUARD, useClass: ThrottlerGuard },\n    { provide: APP_GUARD, useClass: RolesGuard },\n  ],\n})\nexport class OrdersModule {}"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"src/main.ts"},"content":[{"type":"text","text":"import 'reflect-metadata';\nimport { ValidationPipe } from '@nestjs/common';\nimport { NestFactory } from '@nestjs/core';\nimport type { NextFunction, Request, Response } from 'express';\nimport { OrdersModule } from './orders.module.js';\n\nconst app = await NestFactory.create(OrdersModule, { logger: ['error'] });\n// API3: strip unknown properties AND fail loudly when someone sends them.\napp.useGlobalPipes(new ValidationPipe({ whitelist: true, forbidNonWhitelisted: true, transform: true }));\n// Demo only – in the real app a JWT guard sets req.user from a verified token.\napp.use((req: Request & { user?: unknown }, _res: Response, next: NextFunction) => {\n  const [id, role] = String(req.headers['x-demo-user'] ?? 'cus_42:customer').split(':');\n  req.user = { id, role };\n  next();\n});\nawait app.listen(3009);"}]}]},{"type":"output","attrs":{"title":"NestJS server responses (run locally, commands shortened)","language":"bash","content":"$ curl -s localhost:3009/orders/7d41e2c3-8a9b-4f0e-b6d5-1a2b3c4d5e6f   # cus_42 asks for someone else's order\n{\"message\":\"Not Found\",\"statusCode\":404}\n$ curl -s -X PATCH localhost:3009/orders/0b9c6a1e-…/note -H 'Content-Type: application/json' \\\n    -d '{\"note\":\"bez cebulki\",\"status\":\"collected\",\"total\":0}'\n{\"message\":[\"property status should not exist\",\"property total should not exist\"],\"error\":\"Bad Request\",\"statusCode\":400}\n$ curl -s -X PATCH localhost:3009/orders/0b9c6a1e-…/status -d '{\"status\":\"collected\"}'   # as a customer\n{\"message\":\"Forbidden\",\"statusCode\":403}\n$ curl -s -X PATCH localhost:3009/orders/0b9c6a1e-…/status -H 'x-demo-user: emp_3:staff' -d '{\"status\":\"ready\"}'\n{\"id\":\"0b9c6a1e-2f4d-4c55-9a7e-3c1f8d2b6a10\",\"customerId\":\"cus_42\",\"status\":\"ready\",\"total\":64.5}"}},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The owner in the query","marks":[{"type":"bold"}]},{"type":"text","text":" ("},{"type":"text","text":"findForCustomer(id, req.user.id)","marks":[{"type":"code"}]},{"type":"text","text":") – not \"fetch, then check\", which is easy to forget in a new endpoint."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"404 for other people's objects","marks":[{"type":"bold"}]},{"type":"text","text":" – you don't reveal that the order exists."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Roles as metadata + a global guard","marks":[{"type":"bold"}]},{"type":"text","text":" ("},{"type":"text","text":"APP_GUARD","marks":[{"type":"code"}]},{"type":"text","text":") – a new admin endpoint without "},{"type":"text","text":"@Roles","marks":[{"type":"code"}]},{"type":"text","text":" is a risk, so in bigger projects it's worth flipping the logic: deny by default and mark public endpoints explicitly ("},{"type":"text","text":"@Public()","marks":[{"type":"code"}]},{"type":"text","text":")."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Tests with two accounts","marks":[{"type":"bold"}]},{"type":"text","text":" – the most effective BOLA test is an automated test where user B tries every endpoint with user A's identifiers."}]}]}]}]},"toc":[{"id":"api1-and-api5-object-and-function-authorization-nestjs","text":"API1 and API5: object and function authorization (NestJS)","level":2,"locked":false},{"id":"api2-authentication-and-jwt-pitfalls","text":"API2: authentication and JWT pitfalls","level":2,"locked":true},{"id":"api3-mass-assignment-and-too-much-data-in-responses","text":"API3: mass assignment and too much data in responses","level":2,"locked":true},{"id":"api4-and-api6-resource-limits-and-sensitive-flows","text":"API4 and API6: resource limits and sensitive flows","level":2,"locked":true},{"id":"webhooks-signature-time-window-idempotency","text":"Webhooks: signature, time window, idempotency","level":2,"locked":true},{"id":"api7-api8-api9-api10-ssrf-configuration-inventory-third-party-apis","text":"API7, API8, API9, API10: SSRF, configuration, inventory, third-party APIs","level":2,"locked":true},{"id":"secrets-and-personal-data-out-of-the-logs","text":"Secrets and personal data out of the logs","level":2,"locked":true},{"id":"common-mistakes","text":"Common mistakes","level":2,"locked":true},{"id":"test-yourself","text":"Test yourself","level":2,"locked":true},{"id":"what-s-next","text":"What's next","level":2,"locked":true}],"locked":true,"paywall":null,"previewRatio":0.3,"totalBlocks":51,"visibleBlocks":12,"resources":[{"id":"6b0857b53c96f2d34d0b3896","type":"article","provider":"web","url":"https://stripe.com/blog/rate-limiters","embedUrl":null,"title":"Scaling your API with rate limiters","description":"Online payment processing for internet businesses. Stripe is a suite of payment APIs that powers commerce for businesses of all sizes.","author":"stripe.com","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["hacker-news"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"hn","publishedAt":"2017-03-30T16:58:10.000Z","popularity":73,"verifiedAt":"2026-11-26T11:19:34.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:52.228Z","updatedAt":"2026-11-26T16:00:52.228Z"},{"id":"6b0857bf3c96f2d34d0b42f3","type":"article","provider":"web","url":"https://learn.microsoft.com/en-us/azure/architecture/patterns/rate-limiting-pattern","embedUrl":null,"title":"Rate Limiting Pattern","description":"Control the rate at which your application sends requests to a service so that you stay within the service's throttling limits and overall capacity.","author":"Microsoft Azure Architecture Center","thumbnailUrl":"https://learn.microsoft.com/en-us/media/open-graph-image.png","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["azure","cloud"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":57,"verifiedAt":"2026-11-26T11:07:59.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857c83c96f2d34d0b49f5","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=PGreK-A0C6Y","embedUrl":"https://www.youtube-nocookie.com/embed/PGreK-A0C6Y","title":"Good API Design leads to better Rate Limiting","description":"Rate Limiting to protect your API and system from being degraded when clients make too many requests. But why are they making too many requests? Look at your API design because it might be causing your clients to make unnecessary requests. Rate Limiting is still needed but likely configured…","author":"CodeOpinion","thumbnailUrl":"https://i.ytimg.com/vi/PGreK-A0C6Y/hqdefault.jpg","durationSec":null,"lang":"en","topics":["event-sourcing"],"techs":["dotnet"],"tags":["api-design","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2024-08-28T13:31:42.000Z","popularity":59,"verifiedAt":"2026-11-26T10:53:40.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857c73c96f2d34d0b491e","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=u_5JppAExDs","embedUrl":"https://www.youtube-nocookie.com/embed/u_5JppAExDs","title":"Top 10 Rest API Design Pitfalls by Victor Rentea @ Spring I/O 2025","description":"Spring I/O 2025 - 22-23 May, Barcelona An entertaining review of the most common mistakes in designing an API, from the most outrageous goofs to the most dangerous “innocent” shortcuts. You’ll see examples of: Breaking Changes, Domain Model Leak, Sensitive Data Exposure, Performance Issues…","author":"Spring I/O","thumbnailUrl":"https://i.ytimg.com/vi/u_5JppAExDs/hqdefault.jpg","durationSec":null,"lang":"en","topics":["cqrs"],"techs":["java"],"tags":["api-design","performance","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-09-03T21:03:59.000Z","popularity":66,"verifiedAt":"2026-11-26T10:56:51.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857bc3c96f2d34d0b4057","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/microservices-security-in-action-with-prabath/id1478997569?i=1000673444208","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1478997569?i=1000673444208","title":"Microservices Security in Action with Prabath Siriwardena - .NET 201","description":"Microservice architecture is very popular today. The panel talks with microservice security authors about their book and all aspects of securing microservices. Links Microservices Security in Action: Design secure network and API endpoint security for Microservices applications, with examples…","author":"Adventures in .NET","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts211/v4/6a/4e/3b/6a4e3bdb-bbf1-8601-a403-086ce24cb18f/mza_1088513295079016608.jpg/600x600bb.jpg","durationSec":3194,"lang":"en","topics":["microservices"],"techs":["dotnet","java"],"tags":["podcast","kubernetes","security","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2024-10-15T10:00:00.000Z","popularity":44,"verifiedAt":"2026-11-26T11:07:22.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:59.965Z","updatedAt":"2026-11-26T16:00:59.965Z"}],"challenges":[],"attachments":[],"hasCode":true,"repoUrl":null,"series":[],"prev":null,"next":null,"featured":false,"authorCard":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","headline":"Wzorce projektowe · Architektura · AI i LLM","community":false,"reputation":{"points":3900,"level":{"key":"mentor","label":"Mentor"}},"articles":104,"skills":[{"key":"typescript","title":"TypeScript","level":5,"levelLabel":"Authority","articles":90},{"key":"dotnet","title":".NET","level":5,"levelLabel":"Authority","articles":61},{"key":"python","title":"Python","level":5,"levelLabel":"Authority","articles":59},{"key":"java","title":"Java","level":5,"levelLabel":"Authority","articles":46}]}}