on 07-15-2005 12:38 PM
Hello,
I am trying to sent data to a marketplaces via HTTP Post like it is described in the online documentation ( http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm ) but it doesn't work.
I am trying to send 2 Post variables. An account ID and the content (an IDoc)
I made the following entry in the prolog:
id=abc&content=
I wrote a short php-Script to check weather the variables are sent correctly..
[code]<?php
$id = $_POST['id'];
$content = $_POST['content'];
$filename = "Filename ".$id.".xml";
/* Open a new File */
$fp = fopen($filename,"w");
fwrite($fp,$content);
/* Close file */
fclose($fp);
?>[/code]
This script just creates a new file with the id as the filename and the content as the content of the file.
When I run the test, the script receives no variables...
Is there something wrong with the prolog?
Yours
Thomas
Thomas,
did you try <b>&</b>id=abc&content= ?
Just to stick to the documentation....
Did you play with a <i>?</i> - may also help.
Finally - did you try with a manually entered post (e.g. via telnet) whether your php is correct. But I assume you know what you do....
Helge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.