Generate a page containing n links to other pages which do the same.
GEThttps://httpbin.org/links/:n/:offset
Generate a page containing n links to other pages which do the same.
Request
Path Parameters
n integerrequired
offset integerrequired
Responses
- 200
HTML links.
- python
- curl
- csharp
- go
- nodejs
- ruby
- php
- java
- powershell
- dart
- javascript
- c
- objective-c
- ocaml
- r
- swift
- kotlin
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("httpbin.org")
payload = ''
headers = {}
conn.request("GET", "/links/:n/:offset", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear