Linked Questions
28 questions linked to/from How to send POST request?
3
votes
2
answers
14k
views
Download a file via a POST request [duplicate]
I have an API endpoint that dynamically generates an image based on some pass data. I would like to call the API and download the response into a file. What's the best way to accomplish this in Python?...
0
votes
1
answer
357
views
How to sent rest api request to the server using python? [duplicate]
I have a simple rest api which I want to send a post request to using requests.
And I am trying to send a post request using:
req = urllib2.Request('http://ip-adress:8990/DATA')
req.add_header('...
4
votes
4
answers
5k
views
how do I listen to a webhook (https address end point) from python client?
I have a nodejs end point which will be called by a job with a POST HTTP call containing the details of the job data in JSON format?how do I listen to a webhook (https address) from python client ...
Ritz's user avatar
- 1,273
8
votes
4
answers
1k
views
How to send data via POST or GET in Mod_Python?
With JS, i send a AJAX post request.
$.ajax(
{method:"POST",
url:"https://my/website/send_data.py",
data:JSON.stringify(data),
contentType: 'application/json;charset=...
2
votes
1
answer
7k
views
Using python requests on a simple form
I have a simple html form (postform.html) which takes in two user inputs and passes them to a php file (post.php). The php file then echoes a string containing the user inputs.
I am running this from ...
1
vote
1
answer
4k
views
Using Curl command within a Python script
Trying to run a curl command to get the response and save this to a file
Have not been able to create code as this is first time attempting to use a curl command with python dont know where to begin
...
-1
votes
2
answers
4k
views
How to get URI of the Artist from Spotify without having to manually copy the URI of Artist from Spotify
I'm working on this Music player project which I built with Pygame, there are many tutorials on how to make a music player - the UI, the widgets, the functionality but every tutorial uses the choose ...
-1
votes
2
answers
3k
views
How can I do POST request in django?
with exception of requests, are there other ways for doing a POST HttpRequest?
I CAN ONLY USE DJANGO LIBS, so I cannot import requests.
In particular, I would like to pass the username and the ...
1
vote
2
answers
3k
views
Python script to retrieve data from MySQL and post it to web server
I am trying to come up with a python script to retrieve data from MySQL and post the data in json format to a web server. I have two separate python codes, one for retrieving the data in MySQL and one ...
0
votes
1
answer
2k
views
Facebook messenger chatbot with Flask and pymessenger
I have created a messenger chatbot with flask, pymessenger and wit.ai.
I want to add facebook provided templates (like buttons, adding images and sound media)(https://developers.facebook.com/docs/...
1
vote
2
answers
2k
views
How to pass parameter to POST request in python
Folks,
I am new to python and working on REST API in python. I am facing issue in below scenario where I don't understand how to pass the parameter.
Request URL:URL/xyz/api/pqr/
Request method:POST
...
0
votes
1
answer
1k
views
web scraping using python 2.7 html with selected option
I am trying to scrap some information from the following web page and for that I am using beautifulsoup without any problem:
http://www.camara.gov.br/internet/votacao/default.asp
However I need ...
0
votes
0
answers
1k
views
Python 3 send post request with multiple data fields
I need to send data via python post request to service named amplitude, they give curl example, that I tried to rewrite on python and getting 400 error.
curl example
curl --data 'api_key=...
-1
votes
1
answer
1k
views
I want to crawl the web page html (all elements) in Python
I want to crawl comments of news (http://m.entertain.naver.com/comment/list?page=2&gno=news117%2C0002600716&sort=newest&aid=0002600716&oid=117).
But, crawling using requests failed.
...
3
votes
2
answers
538
views
How to pass value entered in textbox to flask in text format from django?
I am a beginner in django and flask.
I want to pass the value entered in textbox from django to flask.
views.py
from django.shortcuts import render
import requests
# Create your views here.
def form(...