SAUTO Network Programmability Foundation Practice Question
You are writing a Python script using the requests library to retrieve configuration from a Cisco Firepower Management Center (FMC). Which specific header must be included in your request to ensure that the server returns the response in JSON format?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Accept: application/json
The FMC API requires the 'Content-Type' or 'Accept' header to be set to 'application/json' to ensure proper data serialization and interpretation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Content-Type: text/xml
Why it's wrong here
This would request XML, not JSON.
- ✗
Authorization: Bearer <token>
Why it's wrong here
This is used for authentication, not for defining the response format.
- ✗
X-Auth-Token: <token>
Why it's wrong here
This is a custom header used for some legacy API integrations but not for format negotiation.
- ✓
Accept: application/json
Why this is correct
The Accept header specifies to the server that the client expects a JSON-formatted response.
About these practice questions
Courseiva writes every SAUTO question from scratch — 281 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Cisco exam blueprint
This SAUTO practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAUTO exam.