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

        Hide
        backlogmanager Backlog Manager added a comment -

        2021-01-25 09:20|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2021-01-25 09:20|CREATED monitor | # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2021-02-01 10:04|UPDATED status: transition Finish| # answers= 3, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-02-01 10:04|UPDATED status: transition Finish| # answers= 3, accepted answer= True

          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: