Short Url builder
use the following steps and hit the given url on browser or on postman because Method type is GET only
go run -tags dynamic cmd/main.go
Endpoint: localhost:8080/short/v1/create/{url} where url = whatever you want to convert into short url Method: GET
-
pull image using below command #docker pull vivek1411/shorturl-latest
-
run the container using below command #docker run -d -p 8080:8080 --name #anyname vivek1411/shorturl-latest
-
hit it using curl or browser or postman.