Skip to content Skip to sidebar Skip to footer
Showing posts with the label Curl

How To Make A Web Server Respond To A Request Outside The Local Network?

I've set up a web server on a Linux machine on port 8000, using: python -m SimpleHTTPServer 800… Read more How To Make A Web Server Respond To A Request Outside The Local Network?

Spaces In A Url When Using Requests And Python

I hope I can explain myself. with out making an arse of myself. I am trying to use python 3.4 to se… Read more Spaces In A Url When Using Requests And Python

Flask Restful Post Json Fails

I have a problem posting JSON via curl from cmd (Windows7) to Flask RESTful. This is what I post: c… Read more Flask Restful Post Json Fails

How To Use Requests Python Module To Make Curl Calls

I need to use an API that makes cURL calls. API shown here: https://www.pivotaltracker.com/help/api… Read more How To Use Requests Python Module To Make Curl Calls

Mimic Curl In Python

The following curl code works: curl --form addressFile=@t.csv --form benchmark=Public_AR_Census2010… Read more Mimic Curl In Python

Requests, Mechanize, Urllib Fails But Curl Works

Whilst attempting to access this site through requests, I receive: ('Connection aborted.', … Read more Requests, Mechanize, Urllib Fails But Curl Works

Script To Mobile-friendly Test

I wanted to write a shell/python script which will check if a website is mobile friendly or not. Us… Read more Script To Mobile-friendly Test

Typeerror: Expected String Or Buffer Decoding Json In Flask

I'm working with a a distributed system where a php app sends a post request to a python flask … Read more Typeerror: Expected String Or Buffer Decoding Json In Flask

Converting CURL To Python Requests

I need to convert the following cURL command to python requests. curl 'https://test.com/api/v1/… Read more Converting CURL To Python Requests