Skip to Content
0
Aug 04, 2011 at 08:25 PM

Using HTTP Post from WD4A

22 Views

Hi,

I have an enhancement on the WD Component ERC_C_REQ_MGMT_UI to push the job posting to the external job distributor. To launch the URL is not a problem; however, pushing the data via an HTTP POST method is a puzzle to me. The data can't be pushed in the URL, so some other way is required. I have read posts that suggest the HTTP_POST function module or cl_http_client=>create_by_url. I have not been able to get either method to work. The data to pass is not in XML but in the following format:

staging.company.com/dir/application.aspxu201D Target=u201DAnother_Windowu201D >

staging.company.com/dir/AppPoster.aspxu201D >

<input type=u201Dhiddenu201D name=u201DPartneridu201D value=u201DZZZ111u201D>

<input type="hidden" name="username" value="My Uname">

<input type="hidden" name="password" value="My Password">

<input type="hidden" name="JobCode" value="9999">

<input type="hidden" name="InternalJobID" value="My Job ID">

....

</form>

Can anyone suggest how I do this?

Thank you