This page will be used to test http posts from a variety of clients.

This page like many read only pages on this site doesn't require a login. You can use this pattern to use a get or a post to retrieve data.

Post Details

the get URL will look like this to get this page


http://www.satyakomatineni.com/akc/display?url=DisplayNoteIMPURL&reportId=4788&ownerUserId=satya

Or You can post this using the URI


http://www.satyakomatineni.com/akc/display

The parameters will be


url=DisplayNoteIMPURL
reportId=4788
ownerUserId=satya

you can use any number of additional parameters to this post. They will be likely ignored.

The output to this post will result in an html page that also includes the master page details. Eitherway it will be html that comes out.

Using a Post to receive back all the parameters you send

You can use the following format to retrieve all your parameters back


http://www.satyakomatineni.com/akc/servlet/TestServlet

The parameters will be


url=DisplayNoteIMPURL
reportId=4788
ownerUserId=satya
additionalArg1=sample1
additionalArg2=sample2 etc.

The system will send back an html that displays each of the inputs right back.

Caution: Please don't send a lot of data on the post as that can tax the system. this is to test your client and not break the server.

Getting the reply as Object XML

You can get the data back as embedded XML by using the following post

Post URL


http://www.satyakomatineni.com/akc/display

The parameters will be


url=DisplayNoteIMPURL
reportId=4788
ownerUserId=satya
aspire_output_format=embedded-xml

Testing Multi-part post

You can use the following form to simulate and test your multipart posts


<form name="FileUploadForm" action="/akc/update/PublicUploadTest" method="POST"
	enctype="multipart/form-data" method="post">

<p>Field 1: <input type="text" name="field1" size="50"/> </p>
<p>Field 2: <input type="text" name="field2" size="50"/> </p>

<!-- file type -->
<p>Choose your file</p>
<p>
<input type="file" name="datafile" size="50"/>
</p>

<p>Note: Make sure the file name does not exceed 10kb if you want a successful response</p>
<!-- submit -->
<p>
<input type="submit" value="Upload/Submit Form"/>
</p>
</form>

This form tests simple posts.

Demonstrates a number of arguments

Demonstrates a single file upload

No validation is done on the client side.

Server simply spits out the values back

Here is that form when rendered. You can put values and test it here if you like.

Field 1:

Field 2:

Choose your file

Note: Make sure the file name does not exceed 10kb if you want a successful response