API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Assembly Parse Policy Failing on Empty Body – Configuration Options?

    Posted Tue April 15, 2025 08:50 AM
    Edited by Kumar . Sun April 20, 2025 08:46 AM
    Dears,
    We have an API with multiple paths using various HTTP methods. We've been requested to parse all incoming requests. However, for POST requests, the clients are not sending any data in the request body-instead, and for GET requests  they are using query parameters and path parameters. When we tried to add parse API giving  following error: 
     
    "No input for assembly parse action."
     
    Can't we parse POST or GET when there's no body ?
     
    Given this scenario, is it possible to configure the parse policy in the API assembly to handle any HTTP method, even when the request body is empty? Ideally, the policy should be able to parse query and path parameters when no body content is present.



    ------------------------------
    Kumar
    ------------------------------



  • 2.  RE: Assembly Parse Policy Failing on Empty Body – Configuration Options?

    Posted Thu April 17, 2025 12:30 AM

    Hello All,

    Kindly  help with your insights.



    ------------------------------
    Kumar
    ------------------------------



  • 3.  RE: Assembly Parse Policy Failing on Empty Body – Configuration Options?

    Posted Tue April 22, 2025 03:31 AM

    Dears,

    Can anyone help with your insights please?



    ------------------------------
    Kumar
    ------------------------------