Hello guys, welcome to the second session of the VBA. In this session we will see the some basic details that are required before starting the VBA. Start with the Ura, which is stands for Uniform Resource Identifier, you are easy used to send the request to the server. The time you are I include the Abode URL as well as the wiring URL to include the two things protocol and the domain name. In this example, HTTP is the protocol where the WW dog family.com is the domain name. And the forward slash API slash matters last parameter are the query string for that request.
There are multiple TTP method which can use according to the user requirement get postponed Delete. The most commonly used method get method is usually to the editor from the server where POST method is used to send the data to the server. Port method is used to update all the error as the content delete memory is used to remove the data from the server. Here the method is identical to the get method expect that the server must not return the message body. of some method describe the communication option as to to be sure to score every response contained the status score which specify the status of the our request 100 to 199. quota reserved for the informational video 200 to 299 for the success 300 to 399 for redirection forum hundred to 499 students Cora reserved for the client side error 500 to 599 hours for the server side error.
Following ID a commonly used the status code hundred represent the our request is a continue 200 represent the request was successfully sent that is okay 404 represent the returning D and o content 301 to represent the move permanently 304 represent do not modify pioneered represent the international server error, which is a server side error which occur when the we are right do something wrong in do configuration file 400 represent the battery quiz 401 for the unauthorized 403 for the forbidden foreign aid for four not found 405 four method not allowed. For 144 the UI is too long. 405 occur when we are using the get method and try to access the method that is this 405 is occur when we are using the HTTP GET TO WORK to access the method which is specifically designed for the POST method. 404 occur when we are trying to access the controller or the method that does not exist.
Each request rate and the response response can be in the any format including the plain text to the written media. Jason and the XML are the most commonly used format. Jason Jason stands for JavaScript Object Notation. This is a lightweight format that is used For the day interchanging Monday for the year Jason is application slash Jason. This is the simple example of the Jason in which we are using the curly braces to represent the object. It contains the three properties, name capital and the currency.
Name of the properties right on the left hand side while the values are right on the right hand side name and the value pair are separated by the colon and each property are separated by the comma. If you want to learn more about the position then you can also refer the my another series on the GS and xml. xml stands for Extensible Markup Language. It is a markup language like the HTML. xml is a commonly used format for the day in day changing Monday Paul, the XML is the application slash HTML Here is the simple example of the XML in which we are using the HTML light, but names that have a custom that we can use our own name. Thank you guys for listening.
If you have any doubt then please post in the Questions section or the place a comment. How a nice day