IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
Expand all | Collapse all

API Gateway - Issue with Request Processing policies

  • 1.  API Gateway - Issue with Request Processing policies

    Posted Tue August 04, 2020 07:08 AM

    Hi All,

    I am trying to enforce Request ProcessingValidate API Specification policy for one of my API. However, i am facing 400 bad request as response. Details as follows
    API version 10.3
    API resource and methods
    → Method = PUT
    → Content type = application/json
    → REST Call
    Policies section
    –>Request Processing -->Validate API Specification → select Content Types check box

    Objective for this approach is to restrict any other content other than application/json for particular API and resource respectively.
    Can someone help me here if i miss anything in this current approach.

    Thanks


    #API-Gateway
    #webMethods
    #API-Management


  • 2.  RE: API Gateway - Issue with Request Processing policies

    Posted Tue August 04, 2020 08:52 AM

    Hi Lakshmi,

    Please take a look of this blog article and this might give you some lead by invoking transformation policy and implement with conditions based routing:

    The transformation policy (Request or Response) contains 3 sections:

    • Condition
    • Transformation Configuration
    • Transformation Metadata

    http://techcommunity.softwareag.com/pwiki/-/wiki/Main/Request%20and%20Response%20Transformation%20policies%20in%20API%20Gateway

    HTH,
    RMG


    #API-Gateway
    #webMethods
    #API-Management