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 8952131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:48:29+00:00 2026-06-15T13:48:29+00:00

I am new to both Twilio and Ruby and am trying to figure out

  • 0

I am new to both Twilio and Ruby and am trying to figure out how to “redirect” or send a request to another url. I don’t need to Gather data at this step but simply evaluate a parameter passed and send it in one direction or the other. Any help?

 post '/ors_verified/ors/:ors_number' do |ors_number|
     number_correct = params['Digits']
     if number_correct == '1'
          redirect "/how_many_irt/ors/#{ors_number}"
     else 
          redirect '/how_many_ors'
 end
 end
  • 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-06-15T13:48:31+00:00Added an answer on June 15, 2026 at 1:48 pm

    So the issue was that I needed to wrap it into a twillio response.

     post '/ors_verified/ors/:ors_number' do |ors_number|
        number_correct = params['Digits']
       Twilio::TwiML::Response.new do |r|
        if number_correct == '1'
          r.Redirect "/how_many_irt/ors/#{ors_number}"
        else 
          r.Redirect '/how_many_ors'
        end
       end.text 
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to both JSF and Spring Framework and I'm trying to figure out
I'm completely new to both VB.NET and JSON, and I'm trying to figure out
I am new to both Ruby and ActiveRecord. I currently have a need to
Im new to both ruby and rails, but have experience with java, javascript and
I'm new on both this site and ruby on rails! I have a common
I'm new to both winsock and bluetooth programming. I need to develop a bluetooth
I am new to both MSBuild and PowerShell and am trying to wrap my
I'm new to both of the two libraries. Now I need a java http
I am new to both Git and version control so I am trying to
New to both Android development and Java, trying to separate my queries into query

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.