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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  API Management : I cannot send a custom Host header to native web service

    Posted 06/26/22 06:59 AM

    Im trying to add multiple custom headers using a new policy (Policies -> Routing -> Custom Http Header) like :

    Host: toto.com
    header1: val1
    Header2: val2
    

    but the invoked call is not working as expected, but when i saw the tracer i found that the added Header in the Request headers to native service call is

    header1: val1
    Header2: val2
    

    So the Host header is dropped from request, Is there any reason why API Gateway is dropping the Host Header ?
    Thak you.


    #webMethods
    #API-Management
    #API-Gateway


  • 2.  RE: API Management : I cannot send a custom Host header to native web service

    Posted 06/27/22 01:27 AM

    Hi John,
    I tried to simulate similar test and I can see all 3 headers are appearing in Tracer. Can you please check again and if you are still seeing the issue please share your API.

    Regards.


    #webMethods
    #API-Management
    #API-Gateway


  • 3.  RE: API Management : I cannot send a custom Host header to native web service

    Posted 06/27/22 05:53 PM

    Hello Prabavathy,
    Thank’s for your help, did try also override Host Headers ?
    Regard,


    #API-Gateway
    #API-Management
    #webMethods


  • 4.  RE: API Management : I cannot send a custom Host header to native web service