You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the code below I get [martini] PANIC: Value not found for type *main.checkForm if I run curl -XPOST -dqueue=1 http://localhost:1234/check/127.0.0.1 and if I run the same without any form parameters I get a 400 bad request response and this JSON in the response {"overall":{"DeserializationError":"mime: no media type"},"fields":{}}.
Neither is what I expected. I was using roughly the same code with the now removed form middleware.
As I re-read this issue, it seems very similar or probably related to #4, which we squished. I'm going to close it now. If something isn't being covered in the tests, feel free to open another issue or, preferably, submit a PR!
from @abh
With the code below I get
[martini] PANIC: Value not found for type *main.checkForm
if I runcurl -XPOST -dqueue=1 http://localhost:1234/check/127.0.0.1
and if I run the same without any form parameters I get a 400 bad request response and this JSON in the response{"overall":{"DeserializationError":"mime: no media type"},"fields":{}}
.Neither is what I expected. I was using roughly the same code with the now removed form middleware.
The text was updated successfully, but these errors were encountered: