New Shopify Certification now available: Liquid Storefronts for Theme Developers

app proxy giving 404

canjozef
Shopify Partner
1 0 0

I have an API with ngrok and I'm trying to use it with a shopify proxy. Here are the details:

API url: http://XXXXXX.ngrok.io

the code that generates the API:

 

 

app = Flask(__name__, template_folder='/content')
run_with_ngrok(app)
CORS(app)
app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False

@app.route("/hadikardesim", methods=["POST", "GET"])
def postME():
  data = request
  print(data)
  return jsonify('NA DA') 

 

 

 

Here are my proxy details:
 
Screen Shot 2022-06-24 at 21.09.34.pngScreen Shot 2022-06-24 at 21.11.08.png
However, my site constantly return URL not found (404). Does any one know how I can fix this issue?
Replies 0 (0)