Template:REST API GET sample code (curl)

From Linux Web Expert

Revision as of 11:40, 22 November 2023 by imported>DKinzler (WMF) (query params)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$ curl "https://en.wikipedia.org/w/rest.php/some/path"
# Sample code
$ curl "https://test.example/foo?x=1&y=2"
Template documentation