📜  api 响应 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:40.904000             🧑  作者: Mango

代码示例1
Response 
                
                 Status code 
                             2xx -->>  success 
                             4xx -->>  client side error
                             5xx -->>  server side error 
                 Header 
                         meta data about your response 
                         like Content-Type, Date and some other info

                 Body | Payload        
                         The response we got from the server 
                         and this where we do lots of validation