Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    kennethpalmer
    @kennethpalmer
    unirest will not encode json properly. Following the request code shown in http://unirest.io/python.html, my reciever code only sees content_type: application/x-www-form-unencoded
    Ahmad Nassri
    @ahmadnassri
    @thefosk ^
    kennethpalmer
    @kennethpalmer
    tried adding unirest(default.header('Content-Type','application'/json') and it works with a unirest post call as ling as you are using json.dumps to pass the data into unirest, example: unirest.post( <url>, params=json.dumps({"foo":"bar"})
    Sudhanshu patel
    @sudhanshuptl
    I am trying to convert text to audio using api,
    response = unirest.post("https://t2s.p.mashape.com/speech/",
    headers={
    "X-Mashape-Key": "4qbGQ73WKZmshpkmiExFtO3wlQsIp1ve1nOjsn0RQRy67VAlWg",
    "Content-Type": "application/x-www-form-urlencoded"
    },
    params={
    "lang": "en",
    "text": "Hello world"
    }
    )
    So now how toplay mp3 saved in responce
    valexxxkiwy
    @valexxxkiwy
    hello to all!
    anyone there?
    can someone explain me how to install unirest into an android 5.0 phone in order to run SMS service like -> https://market.mashape.com/talya-mizrahi/http-messaging#jsp-receivesms-jsp I have SL4A and Python4Android installed can someone drive me ? Thanks so much
    Dee
    @TheCherry
    hi, know someone why in the filename by a upload, is the whole path?
    BrittSherling
    @BrittSherling
    common question im sure but does unirest work with python3.6?
    Ramith Jayasinghe
    @ramith
    Hi guys
    does unirest support fire and forget style.
    the library api suggest that it always expect a response.
    ?
    (- this is for java lib)
    Chaos
    @haroldLuiz
    any dev here?
    i would like to know if its possible to pass extra parameter to the async POST callback
    welp i guess no dev is here
    Jacob Tyrrell
    @JacobTyrrell
    Hey there. When I install unirest, I get this error:
    C:\Users\JACOB>pip3 install -U unirest
    Collecting unirest
      Using cached Unirest-1.1.7.tar.gz
    Collecting poster>=0.8.1 (from unirest)
      Using cached poster-0.8.1.tar.gz
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "C:\Users\JACOB\AppData\Local\Temp\pip-build-4tchw_ga\poster\setup.py", line 2, in <module>
            import poster
          File "C:\Users\JACOB\AppData\Local\Temp\pip-build-4tchw_ga\poster\poster\__init__.py", line 29, in <module>
            import poster.streaminghttp
          File "C:\Users\JACOB\AppData\Local\Temp\pip-build-4tchw_ga\poster\poster\streaminghttp.py", line 61
            print "send:", repr(value)
                        ^
        SyntaxError: invalid syntax
    
        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in C:\Users\JACOB\AppData\Local\Temp\pip-build-4tchw_ga\poster\
    midnightdigitalwork
    @midnightdigitalwork
    Hi, is there anybody who knows how to specify http proxy in unirest python?
    rjainms
    @rjainms
    @JacobTyrrell : did you get an answer to your question? I am getting the same error.