httparty
httparty copied to clipboard
:tada: Makes http fun again!
Test request: ``` curl --location --request POST 'https://www.sainsburys.co.uk/shop/ShoppingListDisplay' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode 'shoppingList=RICE' \ --data-urlencode 'action=findProducts' \ --data-urlencode 'langId=44' \ --data-urlencode 'storeId=10151' \ --data-urlencode 'catalogueId=10241' ``` Expected result:...
I was searching for something and happened to look at this test, the description doesn't seem to match the assertion. The description states: `verify option is set to true`, but...
I am trying to upload some files along with other data to a PHP form. This is not a proper api, just a form post. I have written code to...
This is a fix for #582. First time contributor so keen for feedback.
Hey all, given a webserver that has an endpoint of the form `/foo/bar/` that redirects to `/foo/bar` using a relative redirect containing "..", we notice that this redirect cannot be...
I am newbie on SSL concept, I am trying to connect to API which have x509 mutual auth. I got client cert, client key and server cert. All are pem...
Scenario: I want to communicate with a JSON API. I want to do a post request with a JSON body and for this I want to pass a hash into...
Is this library thread safe?
See #421. There are a few things I'm unsure about here, but see it at a starting point for a discussion: * Can this happen for other formats than JSON...
Following https://github.com/jnunemaker/httparty/issues/555#issuecomment-457013866, I thought that it may be useful to try to always remove BOM chars, because not every server properly specifies charset.