400 Bad Request

97 views
Skip to first unread message

Blaine Everingham

unread,
Jan 20, 2015, 11:05:17 PM1/20/15
to tot...@googlegroups.com
Is there an easy way to log or trace a route?

I'm receiving a 400: Bad Request when posting json through the Chrome Extension "PostMan"

exports.install = function(framework) {
    framework.route('/testFlow/', testflo_app, ["json","post"]);
};
 

Peter Širka

unread,
Jan 21, 2015, 1:15:23 AM1/21/15
to tot...@googlegroups.com
Hi Blaine,
the problem is in content-type. Your request doesn't contain content-type: application/json. Bad request is thrown when content-type is not valid or request content is not valid.

Thanks and if you will have some problem, contact me.
Reply all
Reply to author
Forward
0 new messages