Re: [Tutor] Upload a file using python

2014-02-16 Thread Alan Gauld
On 16/02/14 09:15, rakesh sharma wrote: But I feel if i can use the http methods without involving any UI level automation things would be better. To use http the server at the other end needs to know what you are trying to do. Given it already publishes an Ajax interface I'd have thought it

[Tutor] Upload a file using python

2014-02-16 Thread rakesh sharma
Greetings!! Hi , I need to upload some file into a website. Its ajax based and so I managed to do using selenium.But I feel if i can use the http methods without involving any UI level automation things would be better.I have tried 'requests' library for this. Can't get how to upload a file. I