The Wayback Machine - http://web.archive.org/web/20220213163202/https://github.com/explore
Skip to content

Here's what's popular on GitHub today...

npm logo

Popular topic

npm is a package manager for JavaScript included with Node.js.

 
App recommended by GitHub

Snyk

Snyk is on a mission to help developers use open source and stay secure.
Snyk helps find, fix & prevent known vulnerabilities in your Node.js, Java, Ruby, Python and Scala apps. Snyk is free for open source.

Snyk tracks vulnerabilities in over 800,000 open source packages, and helps protect over 25,000 applications.

83% of Snyk users found vulnerabilities in their applications, and new vulnerabilities are disclosed regularly, putting your application at risk.

Trending repository

nielswart
nielswart commented Feb 11, 2022

Issue

GET requests includes a body, which is not allowed when putting the API behind a CDN such as AWS Cloudfront. This results in a 403 error.

Looking at the request in the Medusa Client class, I see that the default payload is {}

Possible Solution

make the default payload null or undefined

async request(
    method: RequestMethod,
    path: string,
    payload: obje

Trending repository

 
App recommended by GitHub

Octobox

Untangle your GitHub notifications

Octobox helps you manage your notifications in the same way Gmail helps you manage your email. Built for developer workflows centred around GitHub issues, pull requests, comments and commits, Octobox makes sure you never miss another mention or misplace another issue.