摘要:
pom.xml <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2021-08-02 06:03
thy520
阅读(53)
推荐(0)
编辑
摘要:
<dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20170516</version></dependency> [ { "description":"这是我们的第一个post的mock例子
阅读全文
posted @ 2021-08-02 04:34
thy520
阅读(35)
推荐(0)
编辑
摘要:
配置 [ { "description":"这是一个会返回cookies的数据", "request":{ "uri":"/getcookies", "method":"get" }, "response":{ "cookies":{ "login":"true" }, "text":"恭喜你获取c
阅读全文
posted @ 2021-08-02 03:30
thy520
阅读(41)
推荐(0)
编辑
摘要:
package com.course.cookie;import org.apache.http.HttpResponse;import org.apache.http.client.CookieStore;import org.apache.http.client.methods.HttpGet;
阅读全文
posted @ 2021-08-02 03:07
thy520
阅读(51)
推荐(0)
编辑