Ionic 4: HELP: Otp Verification Login Request using a api

Need an Otp Verification Login Capacitor app, a user needs to Request the OTP once entered the phone number, I’m done with the UI Design and Capacitor Build on Android & IOS, but I need a code how it works with Restful App. Like a dummy configuration. Using your code help, I would make some more changes if possible. Thanks in advance.