File size: 6,259 Bytes
13fbd2e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import json
import requests

url = "http://192.168.5.103:8010/milvus/"
headers = {
    "Content-Type": "application/json"
}

data = {
    "page":{
            "pageSum":16,
            "totalCount":3077,
            "currentPageNo":1,
            "pageSize":200,
            "previousPageNo":1,
            "nextPageNo":2,
            "data":[
                {
                        "id":"article_0005686d604d1afa37210c851aa728c2",
                        "createTime":"2024-10-2323:13:52",
                        "updateTime":"2024-10-2319:24:09",
                        "linkType":"",
                        "classificationTags":"AsktheExperts",
                        "tags":"RU-486,emergencycontraception,themorning-afterpill,medicationabortion,mifepristone,misoprostol,abortionpill",
                        "paragraphTitle":"",
                        "title":"Whathappensifyoutakeabortionpillswhenyou’renotpregnant?",
                        "dataTime":"2023-04-26",
                        "author":"Miriam",
                        "readingDuration":"2min",
                        "content":"No you shouldn't take RU-486 or mifepristone if you are not pregnant. These medications are used to terminate a pregnancy, and taking them when you are not pregnant can be harmful to your health.",
                        "img":"https://www.plannedparenthood.org/uploads/filer_public_thumbnails/filer_public/5c/58/5c583737-d748-4022-8edc-6b0f22705977/ask_the_experts_grey.png__1200x900_q75_subsampling-2.jpg",
                        "askName":"",
                        "replyContent":"",
                        "replyName":"",
                        "link":"https://www.plannedparenthood.org/blog/what-happens-if-you-take-abortion-pills-when-youre-not-pregnant",
                        "category1":"SexualHealth",
                        "category2":"Pills",
                        "tagType":"Female",
                        "contentType":"Article",
                        "origin":"PlannedParenthood",
                        "module":"",
                        "outline":"",
                        "sort":0,
                        "likeCount":0,
                        "dislikeCount":0,
                        "deleteStatus":0,
                        "deployStatus":0
                    },
                {
                        "id":"article_0005686d604d1afa37210c851aa728c5",
                        "createTime":"2024-10-2323:13:52",
                        "updateTime":"2024-10-2319:24:09",
                        "linkType":"",
                        "classificationTags":"AsktheExperts",
                        "tags":"RU-486,emergencycontraception,themorning-afterpill,medicationabortion,mifepristone,misoprostol,abortionpill",
                        "paragraphTitle":"",
                        "title":"Whathappensifyoutakeabortionpillswhenyou’renotpregnant?",
                        "dataTime":"2023-04-26",
                        "author":"Miriam",
                        "readingDuration":"2min",
                        "content":"These medications are used to terminate a pregnancy, and taking them when you are not pregnant can be harmful to your health.",
                        "img":"https://www.plannedparenthood.org/uploads/filer_public_thumbnails/filer_public/5c/58/5c583737-d748-4022-8edc-6b0f22705977/ask_the_experts_grey.png__1200x900_q75_subsampling-2.jpg",
                        "askName":"",
                        "replyContent":"",
                        "replyName":"",
                        "link":"https://www.plannedparenthood.org/blog/what-happens-if-you-take-abortion-pills-when-youre-not-pregnant",
                        "category1":"SexualHealth",
                        "category2":"Pills",
                        "tagType":"Female",
                        "contentType":"Article",
                        "origin":"PlannedParenthood",
                        "module":"",
                        "outline":"",
                        "sort":0,
                        "likeCount":0,
                        "dislikeCount":0,
                        "deleteStatus":0,
                        "deployStatus":0
                    },
                {
                        "id":"article_0005686d604d1afa37210c851aa728c43",
                        "createTime":"2024-10-2323:13:52",
                        "updateTime":"2024-10-2319:24:09",
                        "linkType":"",
                        "classificationTags":"AsktheExperts",
                        "tags":"RU-486,emergencycontraception,themorning-afterpill,medicationabortion,mifepristone,misoprostol,abortionpill",
                        "paragraphTitle":"",
                        "title":"Whathappensifyoutakeabortionpillswhenyou’renotpregnant?",
                        "dataTime":"2023-04-26",
                        "author":"Miriam",
                        "readingDuration":"2min",
                        "content":"and taking them when you are not pregnant can be harmful to your health.",
                        "img":"https://www.plannedparenthood.org/uploads/filer_public_thumbnails/filer_public/5c/58/5c583737-d748-4022-8edc-6b0f22705977/ask_the_experts_grey.png__1200x900_q75_subsampling-2.jpg",
                        "askName":"",
                        "replyContent":"",
                        "replyName":"",
                        "link":"https://www.plannedparenthood.org/blog/what-happens-if-you-take-abortion-pills-when-youre-not-pregnant",
                        "category1":"SexualHealth",
                        "category2":"Pills",
                        "tagType":"Female",
                        "contentType":"Article",
                        "origin":"PlannedParenthood",
                        "module":"",
                        "outline":"",
                        "sort":0,
                        "likeCount":0,
                        "dislikeCount":0,
                        "deleteStatus":0,
                        "deployStatus":0
                    },
                ]
    },
    "type": "articleSpiderSyncMilVus",
}

json_str = json.dumps(data)

response = requests.post(url=url, data=json_str, headers=headers)
print(response.text)