The Pretty view formats the response data in a readable way with colors and indentation. It helps you easily understand JSON, XML, or HTML responses.
Click to reveal answer
beginner
Describe the Raw view in Postman.
The Raw view shows the exact response body from the server without any formatting. It displays the body as plain text, useful for debugging.
Click to reveal answer
beginner
What does the Preview view do in Postman?
The Preview view renders the response as a web page if the response is HTML. It shows how the response would look in a browser.
Click to reveal answer
intermediate
Why would you use the Raw view instead of Pretty in Postman?
Use Raw view to see the exact response body without formatting. This helps when you want to check whitespace or binary data that Pretty might hide.
Click to reveal answer
intermediate
How can the Preview view help in testing web APIs?
Preview lets you see how HTML responses render visually. This helps verify if the API returns correct web pages or UI elements as expected.
Click to reveal answer
Which Postman view formats JSON responses with colors and indentation?
APretty
BRaw
CPreview
DHeaders
✗ Incorrect
The Pretty view formats JSON with colors and indentation for easy reading.
Which view shows the exact response body from the server as plain text?
APreview
BRaw
CPretty
DCookies
✗ Incorrect
Raw view shows the unformatted exact response body from the server.
When would you use the Preview view in Postman?
ATo see formatted JSON
BTo view raw headers
CTo render HTML responses as a web page
DTo edit request body
✗ Incorrect
Preview renders HTML responses visually like a browser.
Which view is best to check for hidden whitespace or exact response formatting?
ARaw
BTest Results
CPreview
DPretty
✗ Incorrect
Raw view shows the exact response body including whitespace.
What does the Pretty view NOT show that Raw view does?
AIndented text
BFormatted JSON
CColor coding
DExact raw body response
✗ Incorrect
Pretty view formats the body; Raw shows the exact unformatted body.
Explain the differences between Pretty, Raw, and Preview views in Postman and when to use each.
Think about how each view helps you understand or debug the response.
You got /6 concepts.
How can the Preview view assist in testing APIs that return web pages?
Consider the visual aspect of API responses.
You got /4 concepts.
Practice
(1/5)
1. Which Postman view shows the API response formatted with colors and indentation for easy reading?
easy
A. Raw view
B. Pretty view
C. Preview view
D. Headers view
Solution
Step 1: Understand the purpose of Pretty view
The Pretty view formats JSON, XML, or HTML responses with colors and indentation to make them easier to read.
Step 2: Compare with other views
Raw view shows the exact text without formatting, and Preview renders HTML content visually. Headers view shows response headers, not body.
Final Answer:
Pretty view -> Option B
Quick Check:
Formatted response = Pretty view [OK]
Hint: Pretty = formatted and colored response for easy reading [OK]
Common Mistakes:
Confusing Raw view with Pretty view
Thinking Preview shows formatted text instead of rendered content
Mixing Headers view with body views
2. Which of the following is the correct way to switch to the Raw view in Postman after receiving a response?
easy
A. Go to Settings and enable Raw mode
B. Right-click the response and select 'Raw view'
C. Click the 'Raw' tab next to 'Pretty' in the response section
D. Double-click the response body
Solution
Step 1: Locate the response view tabs
In Postman, response views like Pretty, Raw, and Preview appear as tabs above the response body.
Step 2: Identify how to switch views
Clicking the 'Raw' tab directly switches the view to show the exact response text without formatting.
Final Answer:
Click the 'Raw' tab next to 'Pretty' in the response section -> Option C
Quick Check:
Switch views by clicking tabs = Click the 'Raw' tab next to 'Pretty' in the response section [OK]
Hint: Switch views by clicking tabs: Pretty, Raw, Preview [OK]
Common Mistakes:
Trying to right-click for Raw view (no such option)
Looking in Settings instead of response tabs
Double-clicking does not change views
3. Given an HTML API response, what will you see in the Preview view of Postman?
medium
A. A rendered HTML page if the response contains HTML
B. A formatted and colored JSON with indentation
C. The raw JSON text exactly as received
D. Only the response headers without body
Solution
Step 1: Understand Preview view purpose
The Preview view renders HTML content visually, like a browser would, showing the page layout and images.
Step 2: Consider JSON response in Preview
If the response is JSON, Preview does not format or show it as text; it tries to render it, which usually results in a blank or raw display.
Final Answer:
A rendered HTML page if the response contains HTML -> Option A
Quick Check:
Preview = rendered HTML content [OK]
Hint: Preview shows rendered HTML, not raw or formatted JSON [OK]
Common Mistakes:
Thinking Preview formats JSON like Pretty view
Confusing Raw view with Preview
Expecting headers in Preview
4. You switched to the Preview view in Postman but see a blank screen instead of your expected HTML page. What is the most likely reason?
medium
A. The response is JSON, not HTML, so Preview cannot render it
B. You forgot to click the Pretty tab first
C. Postman does not support Preview view
D. The Raw view is disabled in settings
Solution
Step 1: Identify response content type
Preview view renders HTML visually. If the response is JSON or plain text, Preview cannot render it as a page.
Step 2: Understand why blank appears
Since JSON is not HTML, Preview shows blank or raw text, not a formatted page.
Final Answer:
The response is JSON, not HTML, so Preview cannot render it -> Option A
Quick Check:
Preview blank = non-HTML response [OK]
Hint: Preview blank? Check if response is HTML or not [OK]
Common Mistakes:
Thinking Pretty tab must be clicked first
Believing Postman lacks Preview support
Assuming Raw view settings affect Preview
5. You receive an API response with HTML content that includes CSS. Which Postman view should you use to verify the page visually as a user would see it, and why?
hard
A. Pretty view, because it formats HTML with colors and indentation
B. Raw view, because it shows the exact source code including scripts
C. Headers view, because it shows content type and length
D. Preview view, because it renders HTML and CSS like a browser
Solution
Step 1: Understand the content type and views
HTML with JavaScript and CSS needs to be rendered to see the actual page as a user would.