Home > front end >  The front of interface development
The front of interface development

Time:03-26

Do the interface for the first time, there are a lot of things in the clouds and fogs,,,
Interface documentation in the "request path, method, request parameters, the response parameters"
How do you and match them with the JavaScript?
Kindly, advise

CodePudding user response:

Vernacular point said:
Request path: is the address of the interface
Request: get/post/put/delete one of the most common is get/post
Request parameters: http://xxx.com/a.ajax? A=1 & amp; B=2; At the back of a=1 & amp; B=2 is the request parameters, only on different "request method", which is a somewhat different way
Response parameters: the request path after receiving the request parameters, the execution is completed, return the content of the attributes of the

If the namespace, invocation style, in and out, you should be understand

The easiest way is to have a look at ajax, you said the four sample, you will understand how this is

CodePudding user response:

But why did you say it's front end development?
And javascript butt up is also a JQUERY, JSON and AJAX
  • Related