Tag:Network request

  • On rxswift network request

    Time:2019-10-30

    I. description Rxswift has been in the pit for some time. Before, rxswift was only used in a small range in the project. In order to better use reactive programming, rxswift was decided to be used in a wider range in the project. Then, the network request of rxswift was studied. Now, the cases about […]

  • The difference between get and post in HTTP

    Time:2019-10-24

    GETandPOSTisHTTPThe two basic methods of request, to say the difference between them, have been touched uponWEBDevelopers can tell a thing or two.The most intuitive difference is thisGETInclude the parameters inURL,POSTthroughrequest bodyPass parameters. You’ve probably written countless of them yourselfGETandPOSTRequests, or having read a lot of authoritative websites summarizing their differences, you know exactly what to […]

  • Implementation Method of iOS Using Moya Network Request

    Time:2019-10-14

    As I wrote this article a while ago, the latest Moya has updated the latest version, so I have updated the following usage. I have used it, and I intentionally send you the latest demo for your reference. Moya 11.0.2 Demo Moya introduction Moya is the missing network layer in your app. Instead of thinking […]

  • C# Example Code for Network Request and JSON Parsing

    Time:2019-10-14

    Haikang Camera Centralized Control Platform of the latest school (web side) can not be logged on in Win10. I am thinking about how to change Haikang’s c_demo directly. First of all, we have to solve the problem of permission. Each teacher teaches in different grades, and can only see the equipment in his grade. It […]

  • Implementation of File Operation and Network Request in Scala

    Time:2019-10-8

    1. Read data for each line in the file def main(args: Array[String]): Unit = { // pay attention to the encoding format of the file. If the encoding format is not correct, read the wrong report. val file: BufferedSource = Source.fromFile(“F:\\files\\file.txt”,”GBK”); val lines: Iterator[String] = file.getLines() for(line <- lines){ println(line) } // Pay attention to […]

  • Detailed steps for setting HTTP requests in Wechat applet

    Time:2019-5-30

    Introduction to HTTP requests HTTP (HyperText Transfer Protocol) is a set of rules for computers to communicate through the network. Computer experts have designed HTTP to enable HTTP clients (such as Web browsers) to request information and services from HTTP servers (Web servers). The current version of HTTP protocol is 1.1. HTTP is a stateless […]

  • Comprehensive analysis of network request mode in front-end

    Time:2019-3-27

    I. The Focus of Front-end Network Request In most cases, when launching a network request at the front end, we only need to focus on the following points: Afferent basic parameters(urlRequest method) Request parameters, request parameter types Setting the request header How to get the response Get response head, response status, response results exception handling […]