railwaymen / restler

Make simple API request using functional programming
MIT License
2 stars 3 forks source link

Add possibility to omit endpoint. #66

Closed sprzenus closed 3 years ago

sprzenus commented 3 years ago

Currently

While doing any request we have to specify an endpoint as the function's parameter even if it's not needed e.g. when we're doing a request to the base URL.

Expected

Specifying an endpoint should be optional - an empty string by default.