调用API时出现内部服务器错误500

时间:2020-09-12 07:22:22

标签: javascript java reactjs api fetch

我正在获取用于验证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":""}]

API

错误- Otp.js:19 POST https://cors-anywhere.herokuapp.com/http://35.154.16:105:8080/signup/validateOtp 500(内部服务器错误)

Log

0 个答案:

没有答案