Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
可编程网络自动化
by
Jason Edelman
,
Scott S. Lowe
,
Matt Oswalt
January 2023
Intermediate to advanced
458 pages
14h 16m
Chinese
Posts & Telecom Press
Content preview from
可编程网络自动化
172
|
第
7
章
在
Postman
中做出以上改动后,结果如图
7-7
所示。
图
7-7
:使用
Postman
发送
PATCH
请求
只要点击
Send
按钮,发送该请求,
Cisco ASA
设备就能获得新的接口描述。
学习如何构建正确的
API
请求需要熟悉
API
文档。
API
文档(
API
定义和规
范)定义了一个成功的
API
调用需要怎样的
URL
、
HTTP
请求类型、
HTTP
头部以及消息主体。
例如,我们是怎么知道在更改
ASA
接口时要在
URL
中使用
GigabitEthernet0_
API_SLASH_0
、要构造
P
ATCH
请求,以及要在
JSON
主体中包含
kind
键
和
interfaceDesc
键的?答案是借助
API
文档。幸运的是,也可以通过执行
GET
请求来收
集信息,因为经常要在
POST/PATCH/PUT
主体中使用相同的
值,就像
kind
键的值
object#GigabitInterface
那样。
到目前为止,本书介绍了两款工具,使我们能够在无须编写任何代码的情况下与基于
HTTP
的
API
进行交互
。另外,我们还展示了如何使用
cURL
和
Postman
执行相同的
API
调用,以及如何使用
Postman
进行配置。接下来将重点转向
NETCONF
。
7.2.2
探究
NETCONF
碰到新的
API
时,最好先掌握相关的工具,以便在学习
API
时不用编写任何代码。前面在
学习基于
HTTP
的
API
的用法时就曾使用
Postman
验证过这一点
。对于
NETCONF
,本节
将介绍如何使用
SSH
客户端来创建交互式
NETCONF
会话
。你会学习到如何构建适当的 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
Python和NLTK实现自然语言处理
Posts & Telecom Press, Nitin Hardeniya
Go程序设计语言
艾伦A. A.多诺万, 布莱恩W. 柯尼汉
弱监督学习实用指南
Wee Hyong Tok, Amit Bahree, Senja Filipi
Python实用技能学习指南
Posts & Telecom Press, Robert Smallshire, Austin Bingham
Publisher Resources
ISBN: 9787115606181