퍼펫티어 request, response ( 작성중 )퍼펫티어 request, response ( 작성중 )

Posted at 2020. 5. 29. 22:38 | Posted in Node.js/Puppeteer






    await page.on("response", async(response) => {
        console.log(await response.url());
        console.log(await response.json());
    });




    await  page.on("request", request => {
        console.log("123");
        request.continue({
              url:"사이트 URL"
            , method:"GET"
            , postData: JSON.stringify({ test:"test" })
            , headers: { "Content-Type":"application/json" },
        });
    }); 





Name __

Password __

Link (Your Website)

Comment

SECRET | 비밀글로 남기기