Showing results for 
Search instead for 
Did you mean: 

Request body in GET command

Occasional Visitor

Request body in GET command

I'm not able to send a parameter in request body of GET. It pops "no consumer registered for application/json" error.

I have added following piece of code in swagger 2.0
summary: abcd
- application/json
- in: header
name: Id
type: string

It throws the error whenever I send request body as
"Id": "abc"
It works fine when nothing is sent in the request body
New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Top Kudoed Posts