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

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

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

Python Requests Equivalent Of '--proxy-header' In Curl With Ssl Certification

Reference: How does one specify the equivalent of `--proxy-headers` curl argument into requests? I … Read more Python Requests Equivalent Of '--proxy-header' In Curl With Ssl Certification

Using Subprocess Module With Curl Command

I'm getting the error: function' object is unsubscriptable when using the subprocess module… Read more Using Subprocess Module With Curl Command

Python Requests Equivalent To Curl -h

I'm trying to subscribe to an event stream coming from my particle photon. The docs suggest c… Read more Python Requests Equivalent To Curl -h

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

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?

Google Crawl 503 Service Unavailable

I have got a very strange problem when I crawl google search engine with wget, curl or python on my… Read more Google Crawl 503 Service Unavailable