File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,15 @@ def run_test():
2222 # }
2323
2424 get_request_result = scrappey .get ({
25- 'session' : session ['session' ],
2625 'url' : 'https://httpbin.rs/get' ,
26+ 'session' : session ['session' ],
2727 })
2828 print ('GET Request Result:' , get_request_result )
2929
3030 post_request_result = scrappey .post ({
3131 "url" : "https://httpbin.rs/post" ,
32- "postData" : "test=test&test2=test2"
32+ "postData" : "test=test&test2=test2" ,
33+ 'session' : session ['session' ],
3334 })
3435 print ('POST Request Result:' , post_request_result )
3536
@@ -39,7 +40,8 @@ def run_test():
3940 "postData" : "{\" email\" :\" email\" ,\" password\" :\" password\" }" ,
4041 "customHeaders" : {
4142 "content-type" : "application/json"
42- }
43+ },
44+ 'session' : session ['session' ],
4345 })
4446 print ('POST Request Result:' , post_request_result_json )
4547
You can’t perform that action at this time.
0 commit comments