Update README

This commit is contained in:
Kuba Orlik 2022-05-05 22:06:39 +02:00
parent ff53b5ac02
commit 6cbefae12d

View File

@ -29,7 +29,7 @@ BASE_URL=http://localhost:3000 node .
with httpie: with httpie:
``` ```
http POST localhost:3000/api/requests url==pearson.com 'domains[]==youtube.com' 'domains[]==facebook.com' http POST localhost:3000/api/requests url==pearson.com 'domains[]==youtube.com' 'domains[]==google.com'
``` ```
It returns a 303 response that redirects to a URL you can poll to see the status of the screenshot request. It returns a 303 response that redirects to a URL you can poll to see the status of the screenshot request.