Skip to content

Commit

Permalink
updated readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksahu26 authored Sep 14, 2022
1 parent c467159 commit 0a6f409
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
**URL shortner endpoint - returns a short URL**
1) go run main.go

2) Go to http://localhost:8080/short-url?longURL=http://google.com/1346461234567890123456789/get/who_is_who
Whereas,
2)
Enter your URL after *http://localhost:8080/short-url?longURL=*
And let's say your URL is *http://google.com/1346461234567890123456789/get/vivekkumarsahu*
Finally you complete URL will look like:
```http://localhost:8080/short-url?longURL=http://google.com/1346461234567890123456789/get/who_is_who```

3) You will get output
```
Expand Down

0 comments on commit 0a6f409

Please sign in to comment.