Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6681783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:37:46+00:00 2026-05-26T04:37:46+00:00

EDIT ~ I have answered my own question below in the EDIT section, not

  • 0

EDIT ~ I have answered my own question below in the EDIT section, not answering because i feel wrong if i get points for answering my own post =/

I am trying to find a way to pass parameters to this procedure via a URL

    create or replace procedure extinput(KEY in varchar2 := 'KEY',NAME in varchar2 := 'NAME') is
    l_apex_url varchar2(4000);

    begin
    htp.p('Hello extinput');
    htp.p(KEY);
    --htp.p('NAME');
    htp.p(NAME);
    --l_apex_url:= 'http://myhost:myport/pls/apex/extinput;
    --l_apex_url:= 'google.com'; 
    --owa_util.redirect_url(l_apex_url);

    end extinput;

If i plug the URL:

    http://horizon.lcc.edu:7777/pls/apex/extinput

into my browser then the page dispays:

    Hello extinput KEY NAME

Which is fine for confirming that i can call the procedure via a url, but now im working on passing some variables to its parameters.

I want to know if I will have to put the values in the URL [GET] (really would rather not) or if there is a way to reteive the [POST] data from a form on an external server like so:

    <form Method="POST" action="http://horizon.lcc.edu:7777/pls/apex/extinput" name="form1">
        <P><b>This form has three parameters, which matches the number of parameters the procedure view_http_post_fixed has.</b>
        <table><tr><td>Session Id:</td>
                       <td><input type="text" name="SESSION_ID" value="9582274473829998340">        </td>
            </tr>
            <tr><td>Key:</td>
                <td><input type="text" name="KEY" id="KEY" value="1109"></td>
            </tr>
            <tr><td>Name:</td>
                <td> <input type="text" name="NAME" id="NAME" value="Jeff Eberhard"></td>
            </tr></table>
    <input value="Submit" type="submit">
    </form>

Any help or “point’s in the right direction” will be GREATLY appreciated =)

$$ EDIT $$

Ok so i have successfully gotten passed post data in my pl sql procedure

    create or replace procedure extinput(KEY in varchar2 := 'KEY',NAME in varchar2 := 'NAME') 
    is
        l_apex_url varchar2(4000);
    begin
        htp.p('Hello extinput');

        htp.p(KEY);
        htp.p(NAME);

        insert into post_table (col2, col3 ) values(KEY, NAME);
    end extinput;

Coming to this conclusion makes me feel like i made this question more complicated then it needed to be. Sorry if that is so, but atleast this problem is now solved.

Errors were being thrown because i was sending 3 parameters but only coded two into the procedure. So either remove an input from the form, or add a third parameter area. here is the finalized form:

    <form Method="POST" action="http://horizon.lcc.edu:7777/pls/apex/extinput" name="form1">
        <P><b>This form has three parameters, which matches the number of parameters the procedure view_http_post_fixed has.</b>
        <table>
            <tr><td>Key:</td>
                <td><input type="text" name="KEY" id="KEY" value="1109"></td>
            </tr>
            <tr><td>Name:</td>
                <td> <input type="text" name="NAME" id="NAME" value="Jeff Eberhard"></td>
            </tr></table>
    <input value="Submit" type="submit">
    </form>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:37:46+00:00Added an answer on May 26, 2026 at 4:37 am

    Ok so i have successfully gotten passed post data in my pl sql procedure

        create or replace procedure extinput(KEY in varchar2 := 'KEY',NAME in varchar2 := 'NAME') 
        is
            l_apex_url varchar2(4000);
        begin
            htp.p('Hello extinput');
    
            htp.p(KEY);
            htp.p(NAME);
    
            insert into post_table (col2, col3 ) values(KEY, NAME);
        end extinput;
    

    Coming to this conclusion makes me feel like i made this question more complicated then it needed to be. Sorry if that is so, but atleast this problem is now solved.

    Errors were being thrown because i was sending 3 parameters but only coded two into the procedure. So either remove an input from the form, or add a third parameter area. here is the finalized form:

        <form Method="POST" action="http://horizon.lcc.edu:7777/pls/apex/extinput" name="form1">
            <P><b>This form has three parameters, which matches the number of parameters the procedure view_http_post_fixed has.</b>
            <table>
                <tr><td>Key:</td>
                    <td><input type="text" name="KEY" id="KEY" value="1109"></td>
                </tr>
                <tr><td>Name:</td>
                    <td> <input type="text" name="NAME" id="NAME" value="Jeff Eberhard"></td>
                </tr></table>
        <input value="Submit" type="submit">
        </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit: Answered my own question. See below. -_- I have a variable defined in
Edit: This was user error (sorry). I have answered it below. I am developing
I have an odd question that im not sure has been asked/answered, and im
EDIT -- Answered below, missed the angled braces. Thanks all. I have been attempting
Edit: I have solved this by myself. See my answer below I have set
EDIT: I have edited my post... Working on a project (c#), I have a
What are extension methods in .NET? EDIT: I have posted a follow up question
Edit: While this question has been asked and answered before ( 1 ), (
EDIT: I have submitted a bug report and Microsoft have acknowledge that it is
EDIT: I have added Slug column to address performance issues on specific record selection.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.