REST API Gateway - Request body validation

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • In this video we will learn about request body validation using Amazon API Gateways. Let’s say that you have a backend that doesn’t validate incoming data. Worry not, using Amazon REST API Gateways you can validate requests before hitting your backend code using models or JSON Schemas.
    Timestamps:
    - Intro: 0:00​
    - Create REST API Gateway 1:42
    - Add request body validation: 2:48
    - Time for testing!: 4:20
    JSON Schema: json-schema.org/
    Subscribe button animation: touchtechnologyreview.com/sub...
    Follow me on Github: github.com/endre-synnes

Комментарии • 6

  • @ST95953
    @ST95953 2 года назад

    Really useful. Thank you!

    • @EndreSynnes
      @EndreSynnes  2 года назад

      Thank you so much! I'm glad it was helpful 😄

  • @vaib5917
    @vaib5917 2 года назад

    Please, make a video on how to customize the response error messages. Thanks!

    • @EndreSynnes
      @EndreSynnes  2 года назад +1

      Hi, I’ll look into it, sounds like an interesting topic 😄

  • @ruwanvimukthimettananda7847
    @ruwanvimukthimettananda7847 2 года назад

    Can you provide the Lambda function code

    • @EndreSynnes
      @EndreSynnes  2 года назад +1

      Hi :D
      Yes, here it is: github.com/endre-synnes/python_aws_course/blob/main/lambda_intro/03_API_Gateway/05_first_api_gateway_POST.py
      It is the same lambda function as the one created in this video: ruclips.net/video/x5TcGHUahN8/видео.html