Mở Postman
Nhấn vào nút New

Trong thanh Creat New , nhấn vào nút Request
Trong trường Request name, gõ vào Server Status

Nhấn nút Creat Collection. Trong trường Name your collection, gõ Server Operations.

Nhấn Save to Server Operations

Nhấn thanh Collections để hiển thị Collection đã tạo

Nhấn biểu tượng mũi tên bên trái chữ Server Operations để mở rộng

Cấu hình request và ví dụ Response

Kế bên Headers là Body, nhấn vào đó, tiếp theo là nhấn vào raw, và lựa chọn JSON

Ở đây chúng ta sẽ gõ tên tài khoản và mật khẩu để đăng nhập vào con Sandbox APICEM của Cisco.
Lưu ý là viết theo định dạng JSON như hình dưới

Tới đây là chúng ta đã khai báo xong xuôi các phần chi tiết cần thiết để gửi yêu cầu tạo ticket lên Server APICEM. Nhấn Send để gửi yêu cầu. Sau đó ta nhận được phản hồi như bên dưới, để sang phần kế tiếp ta copy giá trị của serviceTicket (không copy dấu “”).


Nhấn nút Send để gửi yêu cầu, phần body mới hiện ra là kết quả trả về (danh sách các thiết bị trong Controller)

Hoàn thành bài lab.
Thank you.
Nhấn vào nút New

Trong thanh Creat New , nhấn vào nút Request

Trong trường Request name, gõ vào Server Status

Nhấn nút Creat Collection. Trong trường Name your collection, gõ Server Operations.

Nhấn Save to Server Operations

Nhấn thanh Collections để hiển thị Collection đã tạo

Nhấn biểu tượng mũi tên bên trái chữ Server Operations để mở rộng

Cấu hình request và ví dụ Response
- Phương thức Post: sử dụng Post để lấy ticket

Kế bên Headers là Body, nhấn vào đó, tiếp theo là nhấn vào raw, và lựa chọn JSON

Ở đây chúng ta sẽ gõ tên tài khoản và mật khẩu để đăng nhập vào con Sandbox APICEM của Cisco.
Lưu ý là viết theo định dạng JSON như hình dưới

Tới đây là chúng ta đã khai báo xong xuôi các phần chi tiết cần thiết để gửi yêu cầu tạo ticket lên Server APICEM. Nhấn Send để gửi yêu cầu. Sau đó ta nhận được phản hồi như bên dưới, để sang phần kế tiếp ta copy giá trị của serviceTicket (không copy dấu “”).

- Phương thức Get: sử dụng get để lấy thông tin cac thiết bị trên Controller (Server APIC-EM)

Nhấn nút Send để gửi yêu cầu, phần body mới hiện ra là kết quả trả về (danh sách các thiết bị trong Controller)

Hoàn thành bài lab.
Thank you.
Nguồn : VNPRO