shopify-cli app only supports GET requests

Highlighted
New Member
1 0 0

I've generated a Node embedded app via the Shopify CLI.
It works partially, but only for GET requests.
Api calls I try to provision following the NextJS guidelines (within the pages/api directory) will only succeed via GET; all other methods return 405. Furthermore, the GraphQL proxy also only accepts GET requests (which makes it useless).

Is anyone else seeing this?
Can anyone get any routes provisioned in a shopify-cli node app that respond to anything other than a GET request without throwing a 405 response?
0 Likes