Json – Postman 400 bad request

http-headersjsonpostmanrestlet

I am using postman client app for a rest-let of POST type request.
for my URL, I am passing a query-Parameter.
When I pass a small JSON string as value it is been passed perfectly fine , but when I pass a large JSON string as value it throws an error of Bad Request 400 error. Not able to figure out what is going wrong and how to debug and fix the issue.

Can some one help me?

thank you.
~Sha

Best Answer

How large is large? Have you ensured that your query value is URL encoded? Try encoding your value and see if that helps. Here is an online tool to encode your JSON value if you're not familiar with how to do this: http://meyerweb.com/eric/tools/dencoder/

Related Topic