update,
This commit is contained in:
16
carousell/test.mjs
Normal file
16
carousell/test.mjs
Normal file
@@ -0,0 +1,16 @@
|
||||
import axios from "axios";
|
||||
const options = {
|
||||
method: "GET",
|
||||
url: "https://www.carousell.com.hk/p/1253932419/",
|
||||
headers: {},
|
||||
maxRedirects: 5,
|
||||
};
|
||||
|
||||
axios
|
||||
.request(options)
|
||||
.then(function (response) {
|
||||
console.log(response.data);
|
||||
})
|
||||
.catch(function (error) {
|
||||
console.error(error);
|
||||
});
|
Reference in New Issue
Block a user