我正在获取用于验证otp的API注册/ validateOtp。在正文中,我正在传递手机号码和OTP,但我收到了内部服务器错误。
以下是获取API的代码-
[{"ID":13,"ClassName":"4,5","QuestionName":"Who discovered telephone?","Option1":"Albert - Einstein","Option2":"Newton","Option3":"Alexander Grahambell","Option4":"Thomas Alva Edison","RightOption":3,"Duration":60,"IsRegionSpecific":0,"VideoReference":"","Explanation":""}]
错误- Otp.js:19 POST https://cors-anywhere.herokuapp.com/http://35.154.16:105:8080/signup/validateOtp 500(内部服务器错误)