Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

POST request having null request payload #70

Open
PrashanthRamakrishna opened this issue Nov 17, 2014 · 1 comment
Open

POST request having null request payload #70

PrashanthRamakrishna opened this issue Nov 17, 2014 · 1 comment

Comments

@PrashanthRamakrishna
Copy link

Thanks for the swaggeratr. I downloaded the zip file and it is almost working fine except POST methods. I tried with http://localhost:12928/v1/rest/DisplayBaseClassProperties post example with
input param mySample =
{
"TestBaseString": "prash",
"TestBaseString2": "ray",
"TestDerivedString1": ree"",
"TestDerivedString2": "roo"
} and click "Try It"

on debug, value posted is null. chrome debugger is showing Request Payload empty.

I tried with my sample there also I am finding same issue.

I am missing any basic configuration?

@superstator
Copy link
Owner

I think this is a Swagger UI bug, actually. If you're able to see the right values listed in your browser but the request is being sent incorrectly when you click "try it", thats Swagger UI. Googling around it sounds like it's maybe been fixed in newer versions - you could try grabbing their latest, though Swaggerator is currently on an older version of the spec and may not work with the latest and greatest Swagger UI. Sorry!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants