<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web server post/get requested URL</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/38502/web-server-post-get-requested-url</link><description> 
I am working with the RL-lib webserver and looking at the POST and
GET function. In the functions presented by the RL-Lib there is no
parameter with the destination file for the post or get method. 

 
I other words, I want to know what the value is</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Web server post/get requested URL</title><link>https://community.arm.com/thread/77717?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2009 03:29:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:149c80ba-750a-4250-b574-a3d349d3dd26</guid><dc:creator>Arnoud van de Haar</dc:creator><description>&lt;p&gt;&lt;p&gt;
We already use the solution you mention. It is indead an easy way
for solving the problem.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Web server post/get requested URL</title><link>https://community.arm.com/thread/56743?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2009 08:16:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:db14478c-5d99-419e-b5f3-1682509e484d</guid><dc:creator>Trevor Page</dc:creator><description>&lt;p&gt;&lt;p&gt;
There is no documented way to read this parameter.&lt;/p&gt;

&lt;p&gt;
You could very easily add a hidden input field and set its name
and / or value fields to reflect the action URL.&lt;/p&gt;

&lt;p&gt;
For example:&lt;/p&gt;

&lt;pre&gt;
&amp;lt;form action=&amp;quot;users.cgi&amp;quot;....&amp;gt;

&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;actionURL&amp;quot; value=&amp;quot;users&amp;quot; /&amp;gt;

&amp;lt;/form&amp;gt;
&lt;/pre&gt;

&lt;p&gt;
What is your reason for needing to know the action attribute when
processing the POSTed data?&lt;/p&gt;

&lt;p&gt;
If how you process the POST data depends on which page it was
submitted from, you could implement a unique page ID for each
page:&lt;/p&gt;

&lt;pre&gt;
&amp;lt;form action=&amp;quot;users.cgi&amp;quot;....&amp;gt;

&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;PID&amp;quot; value=&amp;quot;123&amp;quot; /&amp;gt;

&amp;lt;/form&amp;gt;
&lt;/pre&gt;

&lt;p&gt;
If the form action attribute is being changed dynamically using
JavaScript then you could use JS to change the values of the hidden
input fields also.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>