Automation Anywhere 설명서 읽기 및 검토

Automation 360

콘텐츠 닫기


콘텐츠 열기

Using POST method

  • 업데이트: 2022/04/20
    • Automation 360 v.x
    • 탐색
    • RPA Workspace

Using POST method

Use the Post method actions from the REST Web Service package to send requests to and receive responses from a REST API.

This example uses endpoints from the Swagger Petstore sample API ( to demonstrate using Post method action to add data to the Petstore database.


  1. bot을 엽니다.
    1. Control Room에서 > 내 봇을 선택합니다.
    2. 새 항목 생성 > 을 클릭합니다.
    3. 태스크 봇 생성 창에서 bot 이름을 입력합니다.
    4. 기본 폴더 위치 \Bots\를 수락합니다.
      bot이 저장되는 위치를 변경하려면 선택을 클릭하고 프롬프트에 따릅니다.
    5. 생성 및 편집을 클릭합니다.
  2. Use the Post method action to add a new pet to the store.
    1. Double-click or drag the REST Web Services > Post method action.

    2. Enter the following URI:
    3. Under Authentication Mode drop-down, select No Authentication as this endpoint does not require authentication.
      주: Typically endpoint requires authentication to ensure that only authorized applications are able to access the data. Select an appropriate authentication mechanism to allow access to the endpoint you want to access.
    4. Copy and paste the following into the Custom parameters field, replacing the text in the angle brackets with the value that you copied from the file:
        "id": 0,
        "petId": 0,
        "quantity": 0,
        "shipDate": "2022-04-20T22:08:11.977Z",
        "status": "placed",
        "complete": true
    5. Create the variable Output in the Assign the output to a variable field. For more information on creating a variable, see 변수 만들기.
  3. Insert a Message box action to see the response body.
    1. Double-click or drag the Log to file action.
    2. In the Enter the message to display field, enter $Output{Body}$.
  4. Click Save and then click Run.
    The bot displays the response in the message box.
피드백을 보내주십시오