Skip to content

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

Amp logo

Popular topic

Amp is a non-blocking concurrency library for PHP.
Code Review Doctor screenshot

App recommended by GitHub

Code Review Doctor

Find and fix hidden Python or Django mistakes, bugs, anti-patterns, and more.

  • Catch common bugs before they are committed
  • Reduce the toil of code review and prevent mistakes
  • Improve team agility through better code quality
  • Up-skill junior developers with learning resources
  • Enhance the security and improve performance of your Django website
  • Setup in 10 seconds and nothing to install or update
  • Airtight privacy policy and security guaranteed

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

GitKraken Boards

GitKraken Boards will sunset at the end of 2022. Read the full announcement to learn more.

GitKraken Boards syncs in real-time with GitHub Issues and GitHub Milestones so changes made in either system are immediately reflected in the other. Link cards to GitHub pull requests, check PR statuses, auto-update cards based on PR statuses and view build statuses without leaving GitKraken Boards.