mirror of
https://github.com/kataras/iris.git
synced 2025-03-13 22:36:24 +01:00
fmt
parent
2c0d9cd365
commit
86a3c95191
|
@ -1,4 +1,4 @@
|
|||
The HTTP referer is an optional HTTP header field that identifies the address of the webpage (i.e. the URI or IRI) which is linked to the resource being requested. By checking the referrer, the new webpage can see where the request originated.
|
||||
The HTTP referer(originally a misspelling of **referrer**) is an optional HTTP header field that identifies the address of the webpage (i.e. the URI or IRI) which is linked to the resource being requested. By checking the referrer, the new webpage can see where the request originated.
|
||||
|
||||
Read more at [wikipedia](https://en.wikipedia.org/wiki/HTTP_referer)
|
||||
|
||||
|
@ -78,6 +78,10 @@ func main() {
|
|||
How to `curl`:
|
||||
|
||||
```sh
|
||||
curl http://localhost:8080?referer=https://twitter.com/Xinterio/status/1023566830974251008
|
||||
curl http://localhost:8080?referer=https://www.google.com/search?q=Top+6+golang+web+frameworks&oq=Top+6+golang+web+frameworks
|
||||
curl http://localhost:8080?\
|
||||
referer=https://twitter.com/Xinterio/status/1023566830974251008
|
||||
|
||||
curl http://localhost:8080?\
|
||||
referer=https://www.google.com/search?q=Top+6+golang+web+frameworks\
|
||||
&oq=Top+6+golang+web+frameworks
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user