jquery ajax reported Uncaught TypeError: Illegal invocation error

Problem description : Ajax request, the page has the following error


Error reason: there are two

1. The request type is wrong, such as a post request, but a get request is set in the background

2. The parameters are wrong. For example, there is no parameter passed, or the parameter does not correspond

The reason for my error is the second one, ajax passes the parameter, but the passed parameter is not defined;

problem solved:

Define the passed parameters, you can solve


Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326720756&siteId=291194637