mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-16 14:41:03 +00:00
Updated SERP (markdown)
parent
120655f064
commit
7630e4e59c
22
SERP.md
22
SERP.md
|
@ -24,6 +24,28 @@ This is a method of performing SERP using third-party services:
|
||||||
|
|
||||||
This is the easiest and safest option among those previously presented.
|
This is the easiest and safest option among those previously presented.
|
||||||
|
|
||||||
|
When implementing in code, it looks like the following:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
var HTTP = require("lib/http");
|
||||||
|
|
||||||
|
var response = HTTP.create()
|
||||||
|
.setVariables({
|
||||||
|
"api_key": "YOUR_API_KEY"
|
||||||
|
})
|
||||||
|
.setProxy({
|
||||||
|
"enabled": true,
|
||||||
|
"provider": "YOUR_SERP_SERVICE",
|
||||||
|
"type": "serp"
|
||||||
|
})
|
||||||
|
.open("GET", "https://example.org/?q=test")
|
||||||
|
.send();
|
||||||
|
|
||||||
|
console.log("responseBody:", response.responseBody);
|
||||||
|
```
|
||||||
|
|
||||||
|
This example demonstrates how to set up an HTTP request with a proxy for SERP using an API key and a third-party service.
|
||||||
|
|
||||||
## Report abuse
|
## Report abuse
|
||||||
- [GitHub Security Advisories](https://github.com/gnh1201/welsonjs/security)
|
- [GitHub Security Advisories](https://github.com/gnh1201/welsonjs/security)
|
||||||
- abuse@catswords.net
|
- abuse@catswords.net
|
||||||
|
|
Loading…
Reference in New Issue
Block a user