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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:38:07+00:00 2026-06-12T22:38:07+00:00

I am working on signing in a Rails 2 app remotely. Given that Rails

  • 0

I am working on signing in a Rails 2 app remotely. Given that Rails methods are RESTful by default, I am assuming all I have to do would be POSTing form data from the remote application (a Facebook App actually). For some reason, this doesn’t seem to work, I’ve tried:

curl http://www.zouz.com/session -d user[email]=testing@blabla.com -d user[password]=whocares

which returns and empty result. I suspected Rails’ built in forgery protection might be the cause, deactivating it won’t make it work.

Is there something wrong with my method ?

EDIT : If it’s any help, processing the same POST query with HTTPRequester does work, although I provided the same input.

  • 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-12T22:38:08+00:00Added an answer on June 12, 2026 at 10:38 pm

    I managed to get it working, thanks to the -u flag.

     curl --user testing@blabla.com:whocares http://192.168.1.19:3000
    

    This is still cryptic to me, as I still don’t know how it operates under the hood. Explanations are still welcome.

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

Sidebar

Related Questions

I have a root_path on my Rails application that is not user-protected i.e. it's
I have a script for building my app that is broken since updating to
I am working on adding iCloud support to my income tracking app myIncome that
I've installed Devise for my Rails app (3.0.1) and it's mostly working. I just
In my Rails app, the signout link isn't working and I'm not sure what
In my Ruby on Rails app I have set up OAuth to work using
I would like to start working on an idea I have for an iphone
I am working on a project that does a large amount of hashing, signing,
All of my Linked Servers stopped working and I have no idea why.\ When
I am working on a basic authentication system for a rails app. The authentication

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.