Skip to content

Commit

Permalink
Change readme
Browse files Browse the repository at this point in the history
  • Loading branch information
notsobad authored Mar 30, 2019
1 parent 77b4e33 commit 258b91a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
A Fakesite for http test, it's a go version of [ynm3k](https://github.com/notsobad/ynm3k).

go install github.com/notsobad/go-fakesite
# run
go-fakesite

# visit http://127.0.0.1:8080/



# static file
# Static file

Visit same url, get same result

Expand Down Expand Up @@ -60,4 +62,4 @@ All kinds of url redirect method
DEMO:

curl -v 'localhost:9527/redirect/301?url=file:///etc/passwd'
curl -v 'localhost:9527/redirect/302?url=http://www.jiasule.com'
curl -v 'localhost:9527/redirect/302?url=http://www.jiasule.com'

0 comments on commit 258b91a

Please sign in to comment.