Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // npm install axios
- const axios = require('axios');
- const url = 'https://www.g2.com/products/asana/reviews';
- axios({
- url: 'https://api.zenrows.com/v1/',
- method: 'GET',
- params: {
- 'url': url,
- 'apikey': <YOUR_ZENROWS_API_KEY>,
- 'js_render': 'true',
- 'premium_proxy': 'true',
- },
- })
- .then(response => console.log(response.data))
- .catch(error => console.log(error));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement