turingschool / turlink-be

0 stars 0 forks source link

BE: POST Endpoint for Link Shortening (Create a link) #3

Closed LJ9332 closed 4 weeks ago

LJ9332 commented 1 month ago

a POST endpoint for creating a shortened link. The long link will be passed in the request body, a new Link database entry will be created with the long link and short link as attributes, and the json response will include the original and shortened links