A
| 3 | I just selected an application and run the example code snippet on Mashape with no entry fields changes
// These code snippets use an open-source library. http://unirest.io/php
$response = Unirest::post("https://full-text-rss.p.mashape.com/extract.php",
array(
"X-Mashape-Key" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type" => "application/x-www-form-urlencoded",
"Accept" => "application/json"
),
array(
"content" => "1",
"inputhtml" => "<html><head><title>Example</title><body><article itemprop="articleBody"><p>Test</p></article></body></html>",
"lang" => "2",
"links" => "remove",
"parser" => "libxml",
"url" => "chomsky.info/articles/20131105.htm",
"xss" => "1"
)
);
When I run that snippet, I get an error
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 28
Content-Security-Policy: script-src 'self'; connect-src 'none'; font-src 'none'; style-src 'self'
Content-Type: text/html
Date: Wed, 14 Jan 2015 08:29:53 GMT
Server: Mashape/5.0.5
X-Ratelimit-Calls-Limit: 500
X-Ratelimit-Calls-Remaining: 410
X-Robots-Tag: noindex, nofollow
A valid key must be supplied | mié. 8:35 14/1/15 |
A
| 3 | I just selected an application and run the example code snippet on Mashape with no entry fields changes
// These code snippets use an open-source library. http://unirest.io/php
$response = Unirest::post("https://full-text-rss.p.mashape.com/extract.php",
array(
"X-Mashape-Key" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type" => "application/x-www-form-urlencoded",
"Accept" => "application/json"
),
array(
"content" => "1",
"inputhtml" => "<html><head><title>Example</title><body><article itemprop="articleBody"><p>Test</p></article></body></html>",
"lang" => "2",
"links" => "remove",
"parser" => "libxml",
"url" => "chomsky.info/articles/20131105.htm",
"xss" => "1"
)
);
When I run that snippet, I get an error
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 28
Content-Security-Policy: script-src 'self'; connect-src 'none'; font-src 'none'; style-src 'self'
Content-Type: text/html
Date: Wed, 14 Jan 2015 08:29:53 GMT
Server: Mashape/5.0.5
X-Ratelimit-Calls-Limit: 500
X-Ratelimit-Calls-Remaining: 410
X-Robots-Tag: noindex, nofollow
A valid key must be supplied | mié. 8:35 14/1/15 |