hngi/trim

How to use it as api endpoint?

mboveiri opened this issue · 3 comments

How to use it as api endpoint?

@mboveiri can you be more specific about what you have in mind?

is able to use Trim as RESTful API.?

for example :

POST {"longurl":"google.com"} domain.tld/api/short : Create a new short url

Apologies for the late response. Yes it is possible @mboveiri. Use this docs for reference: