How to fetch request data from flask post request

import os
from flask import Flask, request
from twilio import twiml
from dotenv import load_dotenv
from import Client
from pyngrok import ngrok

# Find your Account SID and Auth Token at
# and set the environment variables. See
account_sid = os.environ['TWILIO_ACCOUNT_SID']
auth_token = os.environ['TWILIO_AUTH_TOKEN']

app = Flask(__name__)
twilio_client = Client(account_sid, auth_token)

@app.route("/sms", methods=['GET', 'POST'])
def sms_reply():
    """Fetch message response to extract order data"""
    number = request.form['From'] 
    message_body = request.form['Body']
    resp = twiml.Response()
    resp.message('Hello {}, you said: {}'.format(number, message_body))
    return str(resp)

if __name__ == "__main__":