Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created February 3, 2022 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtrouton/d6c3a383c48d13816b94cd21f4dfbebc to your computer and use it in GitHub Desktop.
Save rtrouton/d6c3a383c48d13816b94cd21f4dfbebc to your computer and use it in GitHub Desktop.
curl \
-H 'Host: api.silica-prod01.io.lens.poly.com' \
-H 'accept: application/json, text/javascript, */*; q=0.01' \
-H 'content-type: application/json' \
-H 'origin: https://www.poly.com' \
-H 'apollographql-client-name: poly.com-website' \
-H 'accept-language: en-GB,en;q=0.9' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15' \
-H 'referer: https://www.poly.com/' --data-binary '{"query":"\n query {\n availableProductSoftwareByPid(pid:\"lens-desktop-mac\") {\n name\n version\n publishDate\n productBuild {\n archiveUrl\n }\n }\n }"}' \
--compressed 'https://api.silica-prod01.io.lens.poly.com/graphql'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment