설 연수
하하호홓
설 연수
전체 방문자
오늘
어제
  • 분류 전체보기 (231)
    • Back-End (2)
      • Java (20)
      • JSP (13)
      • Spring (18)
      • Kotlin (0)
      • node.js (0)
    • Front-End (68)
      • JavaScript (19)
      • jQuery (39)
      • Angular (4)
      • HTML (5)
    • Dev-Ops (12)
      • Linux, Cloud (5)
      • docker, k8s (5)
      • ElasticSeach (2)
    • Other (33)
      • OOP (3)
      • 알고리즘 (2)
      • DB (12)
      • Git (1)
      • Swift (4)
    • Backup (65)

블로그 메뉴

    공지사항

    인기 글

    태그

    • flex
    • Kafka
    • 패스트캠퍼스
    • Redis
    • CORS
    • angular4
    • INVALID
    • angular2
    • RESTful
    • Angular
    • angular 콜백
    • MYSQL
    • jOOQ
    • jquery invalid
    • 크로스도메인
    • docker
    • mongodb
    • 404 error
    • page not found
    • angular callback

    최근 댓글

    최근 글

    티스토리

    hELLO · Designed By 정상우.
    설 연수

    하하호홓

    Other

    aws lambda invoke 에러

    2020. 4. 27. 19:19
    $ aws lambda invoke --function-name greetingsOnDemand --payload '{"name":"John"}' --cli-binary-format raw-in-base64-out out
    
    An error occurred (InvalidRequestContentException) when calling the Invoke operation: Could not parse request body into json: Unexpected character ((CTRL-CHAR, code 157)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
     at [Source: (byte[])"&g"; line: 1, column: 2]
    
    
    
    $ aws lambda invoke --function-name greetingsOnDemand --payload '{"Name":"123"}' out
    
    Invalid base64: "{"Name":"123"}"
    
    
    
    $ aws lambda invoke --function-name greetingsOnDemand --payload '{"name":"John"}' --cli-binary-format raw-in-base64-out out
    {
        "StatusCode": 200,
        "ExecutedVersion": "$LATEST"
    }



    'Other' 카테고리의 다른 글

    조동사  (0) 2020.05.07
    이클립스 단축키  (0) 2015.03.11
    반응형 웹  (0) 2014.02.19
    log4j 설명  (0) 2012.02.29
    log4j 시작하기&옵션  (0) 2012.02.29
      'Other' 카테고리의 다른 글
      • 조동사
      • 이클립스 단축키
      • 반응형 웹
      • log4j 설명
      설 연수
      설 연수

      티스토리툴바