Skip to content

Instantly share code, notes, and snippets.

@faresd
Last active December 18, 2020 13:30
Show Gist options
  • Save faresd/de319dc7f126aacc30dbefa1836ba81f to your computer and use it in GitHub Desktop.
Save faresd/de319dc7f126aacc30dbefa1836ba81f to your computer and use it in GitHub Desktop.
request headers in ios:
GET /graphql
Accept: */*
Content-Type: application/json
Origin: https://prismic-graphql-pagination.netlify.app
Referer: https://prismic-graphql-pagination.netlify.app/all-posts
User-Agent: Mozilla/5.0 (iPad; CPU OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1
Prismic-ref: XuDzRxAAACMAedKh
request headers in chrome:
:authority: prismic-pagination-demo.cdn.prismic.io
:method: GET
:path: /graphql?query=query%20blogHomeQuery%7BallBlog_homes%7Bedges%7Bnode%7Bheadline%20description%20image%20__typename%7D__typename%7D__typename%7D%7D&operationName=blogHomeQuery&variables=%7B%7D
:scheme: https
accept: */*
accept-encoding: gzip, deflate, br
accept-language: en-GB,en-US;q=0.9,en;q=0.8
content-type: application/json
origin: https://prismic-graphql-pagination.netlify.app
prismic-ref: XuDzRxAAACMAedKh
referer: https://prismic-graphql-pagination.netlify.app/
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
sec-gpc: 1
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36
I also tried to copy the request headers I had in ios in chrome and still works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment