Linked Questions

28 questions linked to/from How to send POST request?
3 votes
2 answers
14k views

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

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('...
user avatar
4 votes
4 answers
5k views

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

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

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 ...
user32882's user avatar
  • 6,117
1 vote
1 answer
4k views

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 ...
Seán Dempsey's user avatar
-1 votes
2 answers
4k views

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

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 ...
ChiaraM's user avatar
  • 63
1 vote
2 answers
3k views

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 ...
gram95's user avatar
  • 103
0 votes
1 answer
2k views

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

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 ...
PrashantK's user avatar
0 votes
1 answer
1k views

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

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 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

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(...
Vignesh V's user avatar

15 30 50 per page
1
2