Skip to content

How to get json data testing response with content: problem+json #125

Answered by gavv
arojoal asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Try to replace

.JSON()

with:

.JSON(httpexpect.ContentOpts{
    MediaType: "application/problem+json",
  })

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gavv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #125 on November 12, 2022 20:26.