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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:54:05+00:00 2026-05-28T16:54:05+00:00

As with the command line in Pylons call the REST function from controller such

  • 0

As with the command line in Pylons call the REST function from controller such as update? How to pass a request.POST to update function?

  • 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-28T16:54:06+00:00Added an answer on May 28, 2026 at 4:54 pm

    You need to use paster’s post command. Below, I post to /login/attempt of a local app I’ve wrote.

    $ paster post development.ini /login/attempt email_address=me password=invalid
    
    ## It returns this JSON
    {"status": "fail", "value": "me is not a registered email address."}
    

    Here is the docs for paster post –

    Usage: C:\cygwin\home\jaime\virtualenv\sstesting\Scripts\paster-script.py post [options] CONFIG
    _FILE URL [OPTIONS/ARGUMENTS]
    Run a request for the described application

    This command makes an artifical request to a web application that uses
    a paste.deploy configuration file for the server and application. Use
    ‘paster request config.ini /url’ to request /url. Use ‘paster post
    config.ini /url < data’ to do a POST with the given request body. If
    the URL is relative (doesn’t begin with /) it is interpreted as
    relative to /.command/. The variable environ[‘paste.command_request’]
    will be set to True in the request, so your application can
    distinguish these calls from normal requests. Note that you can pass
    options besides the options listed here; any unknown options will be
    passed to the application in environ[‘QUERY_STRING’].

    Options: -h, –help show this help message and exit -v,
    –verbose -q, –quiet -n NAME, –app-name=NAME
    Load the named application (default main) –config-var=NAME:VALUE
    Variable to make available in the config for %()s
    substitution (you can use this option multiple times) –header=NAME:VALUE Header to add to request (you can use
    this option
    multiple times) –display-headers Display headers before the response body

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

Sidebar

Related Questions

From the command line, how do I set the Java CLASSPATH option to point
My command line app call looks like this: java -jar myapp.jar --output c:\test.txt c:\test.txt
Which command-line editor should be used in Windows 7 to modify settings such as
From command line I am getting file name which I have to compile using
I developed a command-line utility which needs to be called from a Java GUI
From command line with imagemagick, you can use: convert dragon.gif -resize 64x64^ -gravity center
I have a command-line process that creates a PDF file from an HTML file
I have a pylons controller action that accepts POST @restrict('POST') def myaction(self): payload =
From a command line I can run oradim.exe -delete -sid DataWare Its in my
Normally, we start a pylons web application via command line: pastser serve --reload development.ini

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.