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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:26:30+00:00 2026-05-31T13:26:30+00:00

Newcomer to django so bere with me here… In my django app one of

  • 0

Newcomer to django so bere with me here…

In my django app one of my urls accepts a paramater called receipt. I need to retrieve the receipt from the url and post it to a external web service. No database is involved in any of this. To user simply goes to http://myapp.com/receipt?=receipt=somereceipt . I read the receipt and then post it to a external web service.

I implemented this by using urllib2 and it works fine.

Is there a better way to make post requests from Django, or is using urllib2 ok? Will urllib2 scale to many requests?

Thanks,

-David

  • 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-31T13:26:31+00:00Added an answer on May 31, 2026 at 1:26 pm

    urllib2 sounds like a completely reasonable way to solve your problem. However you might want to take a look at the requests library: http://docs.python-requests.org/en/v0.10.7/index.html It wraps urllib2 so that you can make the HTTP requests you want and maintain your sanity.

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

Sidebar

Related Questions

I'm newcomer in django, and here is question: I have model class: def Client(models.User)
Newcomer to Objective C and trying to translate concepts and sytax I know from
I'm a newcomer of OOP, so I has one silly question about when a
I am a newcomer to tcl/tk and need to run a script in cadence's
newcomer and first ever question here. I am using the multiprocessing module of Python
Goal: Show data from server in wxPython GUI on client Newcomer to Twisted. I
i m newcomer in android. when i send request to server , to retrieve
Newcomer to postgres here! I edited pg_hba.conf as mentioned here , but when I
I'm a newcomer to Qt, but I'm trying to implement what basically amounts to
I am a newcomer to Maven, and I was wondering if there was a

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.