curl - Python urllib post with different content type than urlencoded -
I understand that, to post with urlib, I need to use URL encoded content. Is it possible to use application / JSN content type when posting with?
not with urlib, like you do Personally, I like (3D party) as a http client library. content-type headers, and urlib One does not provide a way to do this. You can do this but not with (but with
urlopen () , instead of submitting this data, "Opening a file with a URL" means):
Comments
Post a Comment