Reputation: 9974
Can someone please show me how to convert this curl call into call using python urllib2
curl -X POST
-H "Content-Type:application/json"
-d "{\"data\":{}}"
-H "Authorization: GoogleLogin
auth=0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789...XYZ"
https://www.googleapis.com/prediction/v1/training?data=${mybucket}%2F${mydata}
Upvotes: 3
Views: 5076
Reputation: 9974
Found it here:
http://blog.notdot.net/2010/06/Trying-out-the-new-Prediction-API
Upvotes: 1