You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
adafruit_requests library should be able to easily upload multipart/form-data requests
Description:
The adafruit_requests library currently only lets you easily make requests via JSON or via url-encoded form parameters. It would be helpful if it also let you easily make multipart/form-data requests.
My use case is that I want to be able to call the Neocities file upload API from a CircuitPython device, so that I can update a website based on sensor data. This API only accepts multipart/form-data requests. I can build one by setting the Content-Type header and building up a request body manually, but it's the sort of thing I would prefer to have a library handle for me.
Can provide further detail upon request!
thanks for all you do.
The text was updated successfully, but these errors were encountered:
Issue:
adafruit_requests library should be able to easily upload multipart/form-data requests
Description:
The adafruit_requests library currently only lets you easily make requests via JSON or via url-encoded form parameters. It would be helpful if it also let you easily make multipart/form-data requests.
My use case is that I want to be able to call the Neocities file upload API from a CircuitPython device, so that I can update a website based on sensor data. This API only accepts multipart/form-data requests. I can build one by setting the Content-Type header and building up a request body manually, but it's the sort of thing I would prefer to have a library handle for me.
Can provide further detail upon request!
thanks for all you do.
The text was updated successfully, but these errors were encountered: