Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42597

Re: HTTP GET REQUEST WITH PARAMETERS

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'parameters': 0.04; 'http': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'openoffice': 0.16; 'pypi.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'module': 0.19; 'everyone,': 0.19; 'passing': 0.19; 'header:User-Agent:1': 0.23; 'url:moin': 0.24; 'script': 0.25; 'pass': 0.26; 'post': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'requests': 0.31; 'url:wiki': 0.31; 'url:python': 0.33; 'basic': 0.35; 'thanks': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'easiest': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'read': 0.60; "you're": 0.61; 'charset:windows-1252': 0.65; 'within': 0.65; 'here': 0.66; 'rated': 0.84; 'subject:GET': 0.84; 'subject:WITH': 0.84; 'url:latest': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: HTTP GET REQUEST WITH PARAMETERS
Date Tue, 02 Apr 2013 20:00:02 +0100
References <515b25d6$0$1365$4fafbaef@reader2.news.tin.it>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host host-92-18-43-197.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
In-Reply-To <515b25d6$0$1365$4fafbaef@reader2.news.tin.it>
X-Antivirus avast! (VPS 130402-0, 02/04/2013), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18.1364929072.3114.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364929072 news.xs4all.nl 6843 [2001:888:2000:d::a6]:59176
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42597

Show key headers only | View raw


On 02/04/2013 19:39, io wrote:
> HI, everyone,
>
> how can i make a HTTP GET REQUEST using python and passing parameters?
>
> I would like to recall my script from within openoffice basic and pass
> parameters to it.
>
> Some of the GET or POST are here : https://www.bitstamp.net/api/
>
> thanks for anyhelp
>

Easiest way I know is to use the highly rated requests module 
http://docs.python-requests.org/en/latest/ which is available on pypi.

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

HTTP GET REQUEST WITH PARAMETERS io <maroso@libero.it> - 2013-04-02 18:39 +0000
  Re: HTTP GET REQUEST WITH PARAMETERS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-02 20:00 +0100

csiph-web