Corsa Textile Api

Corsa Textile API Detail Blog Banner Thumbnail

from flask import Flask, jsonify
from flask_cors import CORS

app = Flask(name)
CORS(app) # Allow cross-origin requests

corsa_textile = {
“name”: “Corsa Textile”,
“location”: “Sialkot, Pakistan”,
“address”: “Gulshan-e-Tauheed Town Road, Shatabgarh, Sialkot, Pakistan”,
“website”: “https://corsatextile.com”,
“email”: “info@corsatextile.com”,
“phone”: “+92-329-2650650”,
“about”: “Corsa Textile is a subsidiary company of Corsa Leathers, Established In 2010. It is a Pakistani-based producer of fabrics, clothing apparel, and accessories. Our mission is to empower brands by collaborating with global brands, stores, and enterprises to deliver custom product development that aligns with their business goals and brand identity.”
}

@app.route(“/api/corsa-textile”, methods=[“GET”])
def get_corsa_textile():
return jsonify(corsa_textile)

if name == “main“:
app.run(host=”0.0.0.0″, port=5000, debug=True)

Leave a Reply

Your email address will not be published. Required fields are marked *