Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-17304

FIWARE.Question.Tech.Error 411 when using POST request in WSO2 API Manager.

    Details

      Description

      Created question in FIWARE Q/A platform on 22-01-2021 at 18:01
      Please, ANSWER this question AT https://stackoverflow.com/questions/65849907/error-411-when-using-post-request-in-wso2-api-manager

      Question:
      Error 411 when using POST request in WSO2 API Manager

      Description:
      I have created an API via the WSO2 API Manager curl GET requets work fine as you can see below:
      GET request
      But when trying to setup a POST request I get the following message "error 411: Length required"
      error 411 message
      I have tried different things such as disabling chunking or forcing content length header (as WSO2 removes that header by default) by changing the sequence file as shown below but to no avail:
      custom sequence file
      And what is strange is that I use command prompt to make the same post request it works even I do not specifiy the content-length header which suggest that it is added automatically (correct me if I am wrong):
      command prompt post request
      There must be something I am doing wrong could you please help me out?
      Thanks in advance.
      Regards,

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5m 17s 1 Fernando Lopez 25/Jan/21 9:25 AM
        In Progress In Progress Answered Answered
        1s 1 Fernando Lopez 25/Jan/21 9:25 AM
        Answered Answered Closed Closed
        7d 38m 1 Backlog Manager 01/Feb/21 10:04 AM

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: