Skip to content

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

PICO-8 logo

Popular topic

PICO-8 is a fantasy console for making, sharing and playing tiny games and other computer programs in Lua.

App recommended by GitHub

webapp.io

Ship code faster with webapp.io

Developers move much faster using webapp.io to get per-branch review & E2E testing environments.

  • Use our interactive drag-and-drop builder to create a pull request template that contains all of the information a reviewer would need to approve a change.
  • Our hosted environments use a powerful caching mechanism to avoid running repetitive steps like npm install over and over again.

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

Sider screenshot

App recommended by GitHub

Sider

Sider checks code using custom rules based on project specific knowledge and cumulative team experiences. On each pull request, Sider automatically alerts developers on previously documented issues and key information relevant to the changed code.