Relaxing method as an alternative to form POST

A question asked by our development team: is there or will there be a restful method that allows to reach the same result as a form POST by invoking the processing steps?

Richard

Yes, you can post on the rest api and also through the soap api.  But, as said freejung post on the form endpoint is in my opinion better and easier because:

  1. from now on, when you use other api you can not pass the guid of eloqua customer, that connects the visitor in eloqua record the contact that is created for the submission of the form
  2. nor with the api rest or soap can you pass the sponsor as you can in the POST header, which appears in the notifications of the form indicating the origin of the form is sent to
  3. As Eli said, you don't have to worry about authentication

All methods trigger the processing steps.

See you soon,.

Ben

Tags: Marketers

Similar Questions

  • the form post method

    I put my methos form post. I would like to know ColdFusion is smart enough to know to insert or update the physical database.

    If the record exists then ColdFusion server knows updated, if not, ColdFusion insert a record.

    If this isn't the case, I should have a form to change and a form to insert the same table?

    Otherwise, any solution for this?

    Need to check myself recording exists, if yes execute SQL to update or insert records if not then?

    Your information and help is much appreciated,

    Kind regards

    Iccsi,

    In principle, you can use the same form for insert and update, although I use usually two forms.

    You will need to know if a record exists and uses this value when applying the SQL update or insert.

    My knowledge of the CF dates back to more than ten years, and I would be of no use to you. I think that it better if you go to a forum that covers CF

  • Where do you find the form 'POST' method in visual express 2010 that he will not accept the version of frontpage

    This is the method that worked well in frontpage, but does not work in Visual express 2010 and I can't locate the form fields in the menu drop-down


    action="_vti_bin/shtml.dll/reservations.htm" webbot-action = "- WEBBOT - SELF -" >
                 

    Hi harbingerNZ,
    Here is the link to the MSDN support forum. There, they will be able to answer your question.
    http://msdn.Microsoft.com/en-us/aa497440.aspx#two
    hope this helps
    Eddie B.

  • use a variable based on a form post

    I have a variable for a grand total of ($XC_GranTotal)

    $XC_GranTotal = $XCart_sumTotal + $XC_SalesTax + $XC_Shipping-$XC_Discount;

    I have a form field if a value of "BOO" is added, I want to add a 20% discount to the $XC_GranTotal

    < form id = "form2" name = "form2" method = "post" action = "" >

    < input type = "text" name = "discount" id = "discount" / >

    < input type = "submit" name = "button" id = "button" value = "Submit" / >

    < / make >

    I have started but don't know what to do after

    <? PHP

    if($_POST['discount']=='BOO')

    {

    $lessTwentyPercent = 0.02;

    }

    {

    on the other

    {

    $noDiscount = 0.00

    }

    }

    end discount code

    ? >

    then - either of the new variable on

    $XC_GranTotal = $XCart_sumTotal + $XC_SalesTax + $XC_Shipping-$XC_Discount;

    Post edited by: Jonathan Fortis

    Would this work?

    <>

    if($_POST['discount']=='BOO')

    {

    $multiplier = 0.8;

    }

    on the other

    {

    $multiplier = 1;

    }

    $XC_GranTotal = ($XCart_sumTotal * $multiplier) + $XC_SalesTax + $XC_Shipping;

    end discount code

    ?>

  • Content type of the form POST data REMAINS

    I'm trying to POST through a REST API that has a content type of the form data from vRO. Someone at - he no idea how I need to put in shape the body of the request in the vRO? At this point, im just build a JSON object then stringifying the object and sending it offshore.

    {key1:value1, key2:value2}

    var body = new Object();
    body.api_key = apiKey;
    body.AssignedSupportLevel = assignedSupportLevel;
    body.Category = category;
    body.CustomersUFID = customersUFID;
    body.Description = description;
    body.LastModifiedByEmail = lastModifiedByEmail;
    body.OwnedByTeam = ownedByTeam;
    body.Portfolio = portfolio;
    body.Priority = priority;
    body.Service = service;
    body.Source = source;
    body.Subcategory = subcategory;
    body.Summary = summary;
    
    
    var request = restHost.createRequest("POST", "/myitapi/v1/tickets", JSON.stringify(body));
    request.contentType = "multipart/form-data";
    
    
    return request.execute();
    

    Thanks for the reply Ilian. I was able to format the body of the request such as specified in the RFC as stated below. I also wrote an action to do the formatting for me that I have attached. I hope it helps someone else.

    var body = "--WebKitFormBoundary7MA4YWxkTrZu0gW\r\n" +
    "Content-Disposition: form-data; name=\"api_key\"\r\n\r\n" +
    apiKey + "\r\n" +
    
    "--WebKitFormBoundary7MA4YWxkTrZu0gW\r\n" +
    "Content-Disposition: form-data; name=\"AssignedSupportLevel\"\r\n\r\n" +
    assignedSupportLevel + "\r\n" +
    
    "--WebKitFormBoundary7MA4YWxkTrZu0gW--"
    

    The action has two expectations as described in the description.

    1. You use the limit as described in details in your content type of the request.
    2. The action assumes that all data in the form is the Content-Disposition: data type of the form.
  • Is there an alternative Adobe Forms Central is included in his suite cloud Creative?

    I'm an avid user of Adobe Central forms, as well as the software Adobe Creative Cloud... But have not fully explored more cloud creative beyond what I use every day (dreamweaver, fireworks, etc.).  I was wondering if there was an alternative within the software I already have and who would replace Central form.

    N °

    Mylenium

  • Former posts iCloud

    I just found out that I lost a few notes that I need.  I guess that I've probably deleted them by accident. Is it possible to know how far behind my backup history goes on icloud, to see if I can get far enough to find them?  I would need to go on March 2016.

    Thank you

    More deleted items iCloud take place for 30 days, so your chances of recovery aren't good. Go to iCloud.com and select settings to iCloud. When loading this page, look down at left under Advanced and see if you can restore the setting file from it.

  • Form post (GET/POST), redirection 301 response with no redirects.

    A fairly simple shape, with a GET request does not follow the redirect response string:

    See:

    https://www.openrent.co.UK/

    A search for "London": calls

    [16:07:18.622] GET https://www.openrent.co.uk/search/SearchByDistance?searchBox=london & lng = & lat = & within = [HTTP/1.1 302 OK 378ms]
    [16:07:19.030] GET https://www.openrent.co.uk/properties-to-rent?term=london [HTTP/1.1 301 OK 46ms]
    [16:07:19.081] GET https://www.openrent.co.uk/properties-to-rent/london?term=london [0ms]

    But the page does not redirect - this has just stopped working today.

    It turns out that it was a problem with SPDY enabled on the siteand a possible bug in Firefox. It occurs both in Firefox V21 and V22.

  • file .p12 &lt; question &gt; (certificate file) is not created but no ERROR (different from the former post office)

    Hello, I'm new with the mobile app and this is my first time using WebWorks 2.0 (I jumped Webworks 1.0)

    I'm in this step https://developer.blackberry.com/html5/documentation/beta/testing_and_signing_setup.html#kba13821044...  and in the section create your developer certificate. And I'm following the step by step (not sure I myself do right)

    and I entered this CL

    blackberry-keytool -genkeypair -storepass  -dname "cn="
    

    and it's seems it is true, but I don't see any error. Can you help me please?

    and it's the image

    Help

    Thank you

    Jaka

    Hello

    It seems that you missed a step? At this point, I think that you should have your "bbidtoken" file in the directory before creating the author.p12, but it is empty.

    ---

    1. Go to https://developer.blackberry.com/codesigning and sign in using your BlackBerry ID credentials.
    2. Type and confirm the password to use for your BlackBerry ID token, and then click get the token.
  • To mySQL, then the email form does not work after the insertion of the post

    I use the Spry framework to validate certain fields on a form and then insert all of the data forms in a database (with no problems). Then, I want to send an email with a few fields from the form submission.  Normally this works very well in the email PHP code that I have, BUT after adding the spry validation or after you add the insert after section of goto, email PHP code no longer receives the form post data.

    Any ideas what could cause the loss of the post of the form variables?

    Thank you!

    -Daniel Hoviss

    Normally the form sends the data to the processing page, I transmit not explicitly all variables form.

    Like this

    In fact, you pass form variables explicitly. It's that submit a form.

    When you submit a form, the variables are passed to the next page, through the GET method or the POST method. That's why you can access it using $_POST or $_GET. Variables exist only from one page to another. As soon as you redirect the user to another page, the values are destroyed. The code in Dreamweaver $insertGoTo uses the header() function to redirect the user to another page. This is why your variables are no longer available.

    The simple way around this is to add the email script immediately before the code that redirects the user. You can either put the E-mail script directly in the same page, or use a PHP include.

  • Post-formulaire relaxation - output options

    I use form 10g.
    I have a block non-base of data in the form. Stored procedures (program units) are used in triggering the validation button to save any changes made to this block, to the database. Because, it is a block not db, the form does not identify the changed items. So when the user selects accidentally any other form in the menu, the form does not give warning to the user saying that "changes are not saved."

    The form has two tabs. If the user leaves the form from the second tab (non db block based), I would like to issue a generic warning for the user, such as "you are about to leave the form XYZ. You will lose all unsaved changes. You wish to proceed? »

    Is the trigger of the Form after the right place to do this check and raise the warning msg? I have the the following code in the form post trigger
    DECLARE
       canvas_id      canvas;
       current_tab    VARCHAR2(30);
       alert_id       alert;
       alert_button   NUMBER;
    BEGIN
       canvas_id := FIND_CANVAS('XY_Canvas');
       current_tab := GET_CANVAS_PROPERTY(canvas_id, topmost_tab_page);
    
       IF current_tab = 'XY_TAB' THEN
          alert_id := FIND_ALERT('ME_WARNING_A');
          SET_ALERT_PROPERTY(
             alert_id,
             alert_message_text,
             'You are about to leave the XYX form. You will lose any unsaved changes. Do you wish to proceed?'
          );
          alert_button := SHOW_ALERT(alert_id);
    
          IF alert_button = alert_button1 THEN
             NULL;
          ELSE
             COMMIT_FORM;
          END IF;
       END IF;
    END;
    The Commit_form is a restricted procedure cannot be used in the trigger of the form. What can I use, so that the control remains on the form? (It is not necessary to call stored procedures to save the changes to the database. The goal is to stop navigation to a different form or outside the current form)

    Thanks in advance.

    Smita,
    Sorry, but I gave you bad information. You cannot programmatically change the status of FORM or BLOCK variables. You can change the RECORD_STATUS, but this is only valid if you perform a check of the State of registration that you leave the specific record. For a verification of large form, it would be better to create a GLOBAL or a SETTING that you can configure and then check the status of this SETTING to out of shape or GLOBAL. Personally, I recommend the use of a PARAMETER to the GLOBAL variable. This requires a little configuration, but it's not too bad. Here are the steps that I got to do this:
    1. create the Parameter object: PREV_VALUE, data type: CHAR
    2. create the Parameter object: FORM_STATUS, data type: CHAR, default value: QUERY
    3. create the Pre-Text-trigger on block with the following code:

    BEGIN
      COPY(NAME_IN('SYSTEM.TRIGGER_ITEM','PARAMETER.PREV_VALUE');
    END;
    

    4. create block-level when-validate-item trigger with the following code:

    BEGIN
      IF ( :PARAMETER.Prev_Value != NAME_IN('SYSTEM.CURSOR_VALUE') ) THEN
        :PARAMETER.Form_Status := 'CHANGED';
      END IF;
    END;
    

    Notes; If you have a trigger point level when validate point on any of the elements of this block, you need to change the default value of the property of the hierarchy of execution of two triggers; a 'before' and the other 'AFTER' so that both triggers will fire. If you do not, only the block-level trigger fires.

    5. Finally, create a trigger button-output level/form with code Module:

    BEGIN
      IF ( :PARAMETER.FORM_STATUS != 'QUERY' ) THEN
        --Prompt your user to save changes here.
        --Call your program logic to perform the save.
      END IF;
      Exit_Form;
    END;
    

    Again, sorry for the wrong direction to my first answer.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

    Published by: Silvere on 7 February 2012 09:44

  • Dreamweaver protects data Post (email addresses) when sending forms?

    I would like to know how to prevent Rangers being able to intercept any email addresses on the registration forms (POST) as they are presented on my site. I'm not worried to collect my address on my site, I think that this problem is covered. But I fear that those who register on my site are not giving up their information. How we prevent that?

    Only you can be the judge of whether you should be concerned. If the information is something that you'd happily send by email, there is nothing to worry about. If the information is more delicate, you must store the information directly in a database and then retrieve it directly from the database.

  • Is it possible to use a Post form with no submit button

    I have a site whose users log in.
    After logging in, they can click on a navigation button to access an application. Currently users must log in our site, and then in the application.
    We strive to eliminate the need for 2 connections by using pass-through authentication.
    I send a form post to the application w / user session data (user Id).
    I've been asked not to create a page where users hit send.
    So my question is what is the best way to do it?
    I was planning on creating another page that opens when the user clicks the Browse button. The page that opens looks as if it connecting to the application. This page would contain a w shape / form field hidden {session.userinfo} and post it to the application.
    So is there a way magic w / a redirect or something in that?
    Thanks for your help!

    Hi Tina,
    This depends a lot on the application that you want to access from your site CF.

    One way would be something server side, having the button browse your call of the page the script navigate.cfm on your server, that uses cfhttp to submit the connection to the application as recommended Ian. But the problem in this situation may be that the application will return a session on the CF Server (a cookie with a session for a 'connected' session ID), and I don't know if the CF server could "transfer" this session in the browser of the user.

    The other way would be to have a solution on the browser side. But in this case you would need to have the CF post server username and password in the source code of your page in the browser (user name and password would be clear! in the source code of the page).

    The simple solution for the option on the browser side would be to have the login form hidden not in a separate window, but directly in your page (so your button navigate is basically the button submit to your login screen of applications). In this way, you can avoid javascript.

    The solution more complicated for option-side browser which avoids also the clear username / password problem, would be to have a navigation button that calls a javascript function that retrieves the user name and password of the server by using an authenticated and then Web service saves the credentials to the application.

    The server-side option would work only, if your application does not return a session in a cookie ID, but can also handle the Sessionid as a URL parameter.

    So it really depends on what your application can handle (cfhttp may not work if the site is properly protected against cross-site scripting), and what level of 'hair-lifting-security', you are ready to accept.

    See you soon,.
    Fouad

  • Understand the hidden on Oracle APEX page and form variables

    Hi all

    I got to know < form > < / form > apex when Paul said my glitch here:

    {message: id = 10072264}

    Now when I checked out one of the forms on the page of the APEX, I was following markup:
    <form id="wwvFlowForm" name="wwv_flow" method="post" action="wwv_flow.accept">
    <input id="pFlowId" type="hidden" value="122" name="p_flow_id">
    <input id="pFlowStepId" type="hidden" value="42" name="p_flow_step_id">
    <input id="pInstance" type="hidden" value="643064511551379" name="p_instance">
    <input id="pPageSubmissionId" type="hidden" value="3482959593030363" name="p_page_submission_id">
    <input id="pRequest" type="hidden" value="" name="p_request">
    Now, these things hidden?
    < ul >
    pFlowId < li > < /li >
    pFlowStepId < li > < /li >
    pInstance < li > < /li >
    pPageSubmissionId < li > < /li >
    pRequest < li > < /li >
    < /ul >

    On digging the question, I found four of them:
    < ul >
    < li > pFlowId: identifies the ID of the currently running application. Substitution of PL/SQL string - APP_ID (used as *: APP_PAGE_ID, NV('APP_PAGE_ID'), & APP_PAGE_ID.*) < /li >
    < li > pFlowStepId: identifies the ID of the currently running application page. Substitution of PL/SQL string - APP_PAGE_ID < /li >
    < li > pInstance: identifies the session ID for the user of the application running. Substitution of PL/SQL string - APP_SESSION < /li >
    < li > pRequest: identifies the query passed to the page of the currently running application. Substitution of PL/SQL string - REQUEST < /li >
    < /ul >
    Now my questions are:
    < ul >
    < li > what is pPageSubmissionId ? Is there any alternative of PL/SQL string for her? This is one of them:
    http://docs.Oracle.com/CD/E23903_01/doc/ doc.41 /e21674/concept_sub.htm#BEIIBAJD
    < /li >
    < li > I inspected an other forms and find the same code snippet:
    <form id="wwvFlowForm" name="wwv_flow" method="post" action="wwv_flow.accept">
    What is the wwv_flow.accept in the form action attribute? (I guess the procedure submission form) How does it work?
    < /li >
    can < li > I change the attributes id, name and method of form element? For example we have method get or a different form name or id? < /li >
    < /ul >

    Kind regards
    Kiran

    Kiran says:

    What is pPageSubmissionId ?

    See + {: identifier of the thread = 720469} +.

    Is there any alternative of PL/SQL string for her? This is one of them:
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/concept_sub.htm#BEIIBAJD

    N °

    I inspected an other forms and find the same code snippet:

    What is the wwv_flow.accept in the form action attribute? (I guess the procedure submission form)

    Guess correct. It is the process of wwv_flow.accept in the package of the diagram of the APEX_xxxxxx wwv_flow , which is commented "+ this procedure accepts virtually every page flow +".

    How does it work?

    See apex_xxxxxx.wwv_flow to Developer SQL package specification (or whatever IDE you use). Notice how the first parameters of the procedure to accept corresponding to the attributes name HTML elements entry that you have identified? Others include some that match the name of the page elements attributes (name = "p_t01" etc. - There are 100 of those: the source of the page/article in the APEX 100 limit) and 50 f01-f50 parameters in a table /apex_item- generated controls.

    Overly simplified: the browser - HTML and HTTP - specification generates an HTTP request for the form that includes all the names of form controls and the values; It is passed to the web server, which recognizes the URL and its configuration which demand must be managed by the apex_xxxxxx.wwv_flow.accept procedure and call it, match the settings in the HTTP request with those of the package procedure.

    Running an application in a browser that includes development tools that allow you to inspect HTTP requests (I use the network view in Safari Web Inspector). After sending a page, display the generated queries and you will be able to see the form data in the request payload.

    Can we change the attributes id, name and method of form element? For example we have method get or a different form name or id?

    Not in such a way that you would still use APEX.

    Essentially, this is why you use APEX: he manages all aspects of low level, leaving to focus you on the real needs of your applications.

  • Firefox fails to submit form self-referential unless I wait 20-30 seconds.

    EDIT: (the solution ended up being, against all odds, that everything was actually perfectly fine. He has been the host - which was ruin it. Note to everyone who comes through this: GoDaddy is terrible for hosting. The same files, downloaded to real Web host like SourceForge, work perfectly well. What GoDaddy can possibly fail, I can't even imagine.)

    I have created a self-referential form (POST method) in PHP for lead a user through the complicated branching calculation process. I load the PHP in Firefox 3.6 and it is indeed and I do the first communication and which works very well. But if I do another presentation quickly (within seconds), instead of working, he submits to itself with no field, so I will be the first return page once again, and no matter what I do, he keeps submitting with no field. If I can not recharge the original PHP file by POST and redo the first presentation, the first communication works again and the second fails again.

    However, if I do the first presentation and then sit there doing absolutely nothing for maybe 20-30 seconds and then do the second presentation, this works perfectly well. If I wait one more time, the third presentation works; otherwise, he says as the first, with no field and messes.

    I tried with and without the HTTP headers to prevent caching, without effect.

    Any ideas what's happening?

    Edit: (And, to be clear, if I change my POST GET method method, it works perfectly every time. But given the data appear in the URL is confusing and problematic for users, but also seriously complicate the process of bookmarking if the user decides to the computing environment to make a bookmark. The bookmark must be at the beginning of the calculation, not in the Middle, because the calculation is sensitive to time, so the old data are useless and should not be replicated.)

    A good place to ask questions and advice on web development is the Forum MozillaZine Web Standards Development/evangelism.

    Aid to this forum are better informed on issues related to web development.
    You must register on MozillaZine forum site to post in this forum.

    See http://forums.mozillazine.org/viewforum.php?f=25

Maybe you are looking for

  • N40l

    Hi all, thanks in advance for any help I have a server Proliant mico N40L, his works very well for about a year, but the habit now properly initialize or get seen by the wireless router. I first thought that the ethernet jack was dying, then bought a

  • How can I extract the frequency of the FFT function?

    Hi all How can I extract the frequency of the FFT function in labview?  Thanks in advance Concerning

  • Wave files will not play in Windows Media Player 11

    Windows media player11 will not play files WAV. as: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • Multiple Crypto cards on a single Interface of ASA

    Hello I work with a TAC support engineer, and while troubleshooting it suggests to assign two different cryptographic cards on a single interface. It is technically possible to have multiple Crypto maps on a single Interface ASA? PS: I know have seve

  • change greetings from the system unit

    is it possible to re - register unit system messages, such as, instead of the voice of unity, saying "wait while I transfer your call" he said: "Please wait while I transfer your call. Thank you Rob