Module
Axios
- Package
- purescript-axios
- Repository
- iarthstar/purescript-axios
#Config Source
data Config
Types ------------------------------------------------------------------------------------------------------------
The Config
is a product type for wrapping a pair of String and Foreign value,
as key value pairs forming config json for axios
Constructors
Instances
#genericAxios Source
genericAxios :: forall res req. Decode res => Encode req => String -> Array Config -> req -> Aff (Either Error res)
Helpers ----------------------------------------------------------------------------------------------------------
A generic implementation of the axios
member from Axios
class
i.e. takes an url, array of config and request body and gives the Either
Error
response
- Modules
- Axios