程序包 cn.vorbote.net

类 RequestUtil


  • public final class RequestUtil
    extends Object
    This util class supplies POST, GET and other

    You can see usual User Agents on
    https://www.python87.com/docs/user_agent.html

    • 方法详细资料

      • Post

        public static void Post​(String url,
                                Map<String,​Object> params)
        Send a POST request to specified URL
        参数:
        url - The url you want to send request.
        params - The params.
      • Get

        public static void Get​(String url,
                               Map<String,​Object> params)
        Send a GET request to specified URL
        参数:
        url - The url you want to send request.
        params - The params.