skip to Main Content

I have a WCF service which is accepting documents of any size locally. But when other systems are consuming it or hitting it from Postman, giving me 413- Request Entity too large error. I tried all solutions related to Web config but no success. I am not sure from where the error is occurring from ASP.net or web server or any firewall. From Postman, the code is never hitting, it is breaking even before reaching the method. We are sending file contents using base64 string and accepting it in string parameter. We are using asp.net 4.0

I have already tried all solutions related to web config.

2

Answers


  1. Chosen as BEST ANSWER

    no solution available online for this question worked for me. I had to create an API and made necessary config changes for it to work. Hope it helps to anyone looking for a solution and save their time, since I already gave it a lot of time.


  2. You can set Content-length in the header settings of the postman. I think you can set a relatively large value here to test.enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search