Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

call method http_client ->request ->set_header_field

former_member190312
Active Participant
0 Likes
4,371

Hi all,

i am passing NAME & VALUE as two export parameter for the below method.

here , what i should pass to VALUE parameter. is it a URL?

what is the meaning of '_/airport.asmx'_ in VALUE parameter.

call method http_client ->request ->set_header_field

exporting

name = '~request_uri'

value = '/airport.asmx'.

Regards

pabi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,385

Here name specifies path .

value specifies get or post method

4 REPLIES 4
Read only

Former Member
0 Likes
2,386

Here name specifies path .

value specifies get or post method

Read only

0 Likes
2,385

Hi KPN,

Thanks. can u plz describe what is the meaning of get or post method?

Actually i am sending some data from sap to web through web service in SAP 4.7.

here that method is used. can u plz describe me abt that VALUE parameter in a more convincing way?

Regards

pabi

Read only

0 Likes
2,385

POST

Pages generated by an HTTP POST operation are always cached. The Web browser uses POST operations whenever an HTML FORM statement specifies METHOD="POST" .

GET

Pages generated by GET operations are never cached because the Internet Transaction Server (ITS) explicitly sets a no-cache option in the HTTP header when the page is sent to the Web browser. It does not matter what caching options are set in the Web browser. The Web browser uses GET operations for hypertext links and FRAMESET documents.

check these links

http://help.sap.com/saphelp_47x200/helpdata/en/ee/23df3a750f6a02e10000000a11405a/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/78/985281c06b11d4ad310000e83539c3/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/99/0455ada80a11d1801000c04fadbf76/frameset.htm

Read only

0 Likes
2,385

If you have a hunt around with Google you'll be able to find more info on web service calls including non-ABAP specific examples that should help you understand the nature of the logic you are looking at ... for example the following page explains what the ASMX (ASP.Net) extention URI file will be doing in support of the post / get.

http://www.c-sharpcorner.com/UploadFile/ashok_kp/IntroductionToWebServicesT11252005045531AM/Introduc...

Jonathan