Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3316

Re: File to HTTP_AAE with Attachment

$
0
0

Hi Stefan,

 

I am trying to do HTTP POST to an end point URL along with passing a few parameters. Please find the below HTML code which works perfectly fine using a browser and i need to achieve the same using PI.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

"http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">

<title>Direct access - File upload</title>

</head>

<body>

<h1>Direct access - File upload</h1>

<form method="post"

enctype="multipart/form-data"

action="https://XYZ.ariba.com">

Event: <input type="text" name="event" value="Import Batch Data"><br>

<input type="radio" name="fullload" value="true">Full Load<br>

Password: <input type="password" name="sharedsecret" value="XYZXYZ"><br>

Client Type: <input type="text" name="clienttype" value="DataTransferTool"><br>

Client Info: <input type="text" name="clientinfo" value="Custom ITK Download Form"><br>

Client Version: <input type="text" name="clientversion" value="1.0"><br>

File: <input type="file" name="content"><br>

<input type=submit value="Submit Post">

</form>

</body>


Viewing all articles
Browse latest Browse all 3316

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>