Skip to content

Instantly share code, notes, and snippets.

@mauricedb
Created December 23, 2020 12:38
Show Gist options
  • Save mauricedb/4bcdaca88789dc74a0beadcf9fe438dc to your computer and use it in GitHub Desktop.
Save mauricedb/4bcdaca88789dc74a0beadcf9fe438dc to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
fetch("https://wb-api.ethz.ch/MFT/api/upload/v1/UploadChunk", {
"headers": {
"accept": "application/json",
"accept-language": "en-US,en;q=0.9,nl;q=0.8,de;q=0.7",
"authorization": "....",
"cache-control": "no-cache",
"content-type": "application/json",
"pragma": "no-cache",
"sec-fetch-dest": "empty",
"sec-fetch-mode": "cors",
"sec-fetch-site": "same-site",
"x-correlation-id": "1e2e9593-43cb-419e-9e98-bb0806a75dd1|:|:|pdfDocument|:|:|pdf_file.pdf|:|:|69"
},
"referrer": "https://wb.ethz.ch/",
"referrerPolicy": "strict-origin-when-cross-origin",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment