Using User-Agent: Apache-HttpClient/4.1.1 (java 1.5) in Tibco BW

不想你离开。 提交于 2019-12-11 07:24:59

问题


I am trying to invoke Kelly Blue Book Web Service using Tibco BW. I observed that KBB accepts HTTP requests only from Apache-HttpClient/4.1.1 (java 1.5) but Tibco always uses Jakarta Http client internally.

is their a way that we can use Apache-HttpClient/4.1.1 (java 1.5) in Tibco BW.


回答1:


You can spoof the User-Agent by setting a "User-Agent" dynamic header in input of the Send HTTP Request activity.



来源:https://stackoverflow.com/questions/20361555/using-user-agent-apache-httpclient-4-1-1-java-1-5-in-tibco-bw

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!