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

  • SEARCH
  • Home
  • 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 6592165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:31:11+00:00 2026-05-25T17:31:11+00:00

Hi on submission of the form ‘put’ method is used to send data from

  • 0

Hi on submission of the form ‘put’ method is used to send data from form to sinatra.the put method is defined in app.rb put method makes a call to erb file which displays the two values.

but nothing is being displayed could somebody help please.

put '/form' do

@name = params[:FirstName]
@last = params[:LastName]

erb :formact
end

form

<form name="biodata" action="form" method="put" onsubmit="validateForm()">
code
</form>

Thank you

  • 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-25T17:31:12+00:00Added an answer on May 25, 2026 at 5:31 pm

    I don’t think PUT is a valid method for form submission. Check your HTTP server log and see if the requests are actually coming as PUT requests — the browser might be sending them as GET, which is the default.

    Anyway, you should probably just use POST instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If my POST data from a form submission = John Doe, and I'm trying
in order to make sure all form submission and all data submitted to server
Here is the form submission part var form=document.forms[mainForm]; form.setAttribute(action,url_action); form.setAttribute(method,post); form.setAttribute(enctype,multipart/form-data); form.setAttribute(encoding,multipart/form-data); form.submit(); Now
I have a news submission form. I want it to be secure from XSS
Getting an NumberFormat exception from a form submission that passes a phone number. However,
I have a very basic email submission form in my ASP.NET MVC 3 app.
I have this AJAX submission form written with the jQuery validation plugin. It all
I am trying to get the following form submission to show alert box if
Objective: My script will download a remote file upon form submission, since the file
I am having trouble to find a solution to stop form submission on click

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.