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

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

MongoDB logo

Popular topic

MongoDB is an open source NoSQL document-oriented database.

App recommended by GitHub

Metabob-app

Save countless hours with AI-based Meta Analysis

Metabob is the only tool for visualizing and reviewing Python code for hidden errors and performance sinks.

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

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.