on 01-05-2012 3:33 PM
Hello.
Currently the Http receiver adapter is configured as HTTP get . We need to change it to HTTP Post and put the parameters in the URL in the body.
Can someone please give an example on how to conevert a http get to http post. Is it a simple thing to do or does it need some java programming?
Thanks for your help.
Best Regards,
Teresa
What PI version are you using? Only PI 7.3 supports GET method. For using http post and configuring as http receiver, you can refer the sdn for the http receiver scenarios. Yes, you can pass query as string too...
Ex: http://hostname:port/test?field1=value1&field2=value2&field3=value3
You dont need java effort.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Baskar. I am on SAP PI 7.1 Currently they have a HTTP_DESTINATION that is defined in SM59 and a Prolog. We want to change it to HTTP Post.
Below is how it is configured currently -
addressing type : HTTP Destination
HTTP Destination : UPS_DESTINATION
Content Type : application/x-www-form-urlencoded
XML Code : UTF-8
Prolog : arg1=
Epilog = &action=generateUPSShippingLabel&format=xml
How would I change above to HTTP post ?
Teresa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.