接口自動化之requests學習(三)--發送post請求

想要用requests方法調用post請求,首先我們要有一個post接口,我們選擇人人網登錄接口來練習 1.打開人人網的登錄頁面,獲取登錄的url及發送的參數 2.獲取到登錄接口url及參數後,編寫代碼 #!usr/bin/env python #-*- coding:utf-8 -*- """ @author:Administrator @file: requests_post.py @time
相關文章
相關標籤/搜索