{% extends 'bootstrap/base.html' %} {% import 'bootstrap/fixes.html' as fixes %} {% block title %}libenable.so{% endblock %} {% block head %} {{super()}} {{fixes.ie8()}} {% endblock %} {% block content %}
$ curl http://{{ host }}:{{ port }}/api/statistics
curl http://{{ host }}:{{ port }}/api/reCAPTCHA -F "site_key=<site key> -F "site_key=<url>" -X POST
curl http://{{ host }}:{{ port }}/api/solvemedia -F "site_key=<site key>" -X POST
import requests
requests.get('http://{{ host }}:{{ port }}/api/statistics').json()
requests.post('http://{{ host }}:{{ port }}/api/reCAPTCHA', data = {'site_key': '<site key>', 'url': '<url>'}).json()
requests.post('http://{{ host }}:{{ port }}/api/solvemedia', data = {'site_key': '<site key>'}).json()
The result of these examples is as follows:
Returns the version of the application
{{ version }}
http://{{ host }}:{{ port }}/api/version
Returns statistics about the application and the Python interpreter
{{ stats }}
http://{{ host }}:{{ port }}/api/statistics
Enables access to reCAPTCHA protected domains
Name | Description |
---|---|
site_key | The site key of the domain |
url | The URL of the domain |
{{ reCAPTCHA }}
http://{{ host }}:{{ port }}/api/reCAPTCHA
Enables access to Solve Media protected domains
Name | Description |
---|---|
site_key | The site key of the domain |
{{ solve_media }}
http://{{ host }}:{{ port }}/api/solvemedia