Exam H12-891_V1.0 Topic 1 Question 96 Discussion

Actual exam question for Huawei's H12-891_V1.0 exam
Question #: 96
Topic #: 1
Huawei Open Programmability System (OPS) uses HTTP methods to access managed objects to manage network devices. To facilitate script compilation, Huawei OPS provides the Python script template. In the Python script template, what are the contents of the Content-type and Accept fields in the header of an HTTP request packet?

Suggested Answer: B Vote an answer

Huawei Open Programmability System (OPS) and HTTP Request Headers
Huawei OPS allows network automation and programmability through HTTP-based APIs. When using Python scripts to send HTTP requests to network devices, the request headers must specify the content format for data exchange.
✅ B. Content-Type: text/json, Accept: text/json (Correct Answer)
Content-Type: text/json → Specifies that the request body contains JSON-formatted data.
Accept: text/json → Specifies that the response should be in JSON format.

by Kelly at Oct 01, 2026, 01:24 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10