forked from talkpython/100daysofcode-with-python-course
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNYTAPI.http
More file actions
13 lines (11 loc) · 654 Bytes
/
NYTAPI.http
File metadata and controls
13 lines (11 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or
# paste cURL into the file and request will be converted to HTTP Request format.
#
# Following HTTP Request Live Templates are available:
# * 'gtrp' and 'gtr' create a GET request with or without query parameters;
# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;
# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart/form-data);
GET https://api.nytimes.com/svc/mostpopular/v2/viewed/1.json?api-key=ozRYGGPDNc0g7krjE1y1e5PheUIh2XfI
Accept: application/json
###
###