Filter response with JQ
With # @jq
directive
You can use # @jq
directive to filter the response JSON.
# @jq { "username": .username, "password": .password }
POST https://httpbin.org/post HTTP/1.1
Content-Type: application/json
{
"username": "{{USERNAME}}",
"password": "{{PASSWORD}}",
}
Manually in the response buffer
Use F
to toggle the JQ filter in the response buffer.
Enter the query string after JQ Filter:
and press Enter
to apply the filter.