diff --git a/share/check_comment.http b/share/check_comment.http new file mode 100644 index 00000000..52d866a5 --- /dev/null +++ b/share/check_comment.http @@ -0,0 +1,29 @@ +### Checks the specified ham against the service database. +POST {{apiUrl}}/1.1/comment-check +Content-Type: application/x-www-form-urlencoded + +api_key = {{akismetApiKey}} & +blog = https://github.com/cedx/akismet.js & +comment_author = Akismet & +comment_author_url = https://belin.io & +comment_content = I'm testing out the Service API. & +comment_type = comment & +is_test = true & +referrer = https://www.npmjs.com/package/@cedx/akismet & +user_agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 & +user_ip = 192.168.0.1 & +user_role = administrator + +### Checks the specified spam against the service database. +POST {{apiUrl}}/1.1/comment-check +Content-Type: application/x-www-form-urlencoded + +api_key = {{akismetApiKey}} & +blog = https://github.com/cedx/akismet.js & +comment_author = viagra-test-123 & +comment_content = Spam! & +comment_type = trackback & +comment_author_email = akismet-guaranteed-spam%40example.com & +is_test = true & +user_ip = 127.0.0.1 & +user_agent = Spam Bot/6.6.6 diff --git a/share/comment_check.http b/share/comment_check.http deleted file mode 100644 index 2381c90d..00000000 --- a/share/comment_check.http +++ /dev/null @@ -1,29 +0,0 @@ -### Checks the specified ham against the service database. -POST {{apiUrl}}/1.1/comment-check -Content-Type: application/x-www-form-urlencoded - -api_key={{akismetApiKey}} -&blog=https://github.com/cedx/akismet.js -&comment_author=Akismet -&comment_author_url=https://belin.io -&comment_content=I'm testing out the Service API. -&comment_type=comment -&is_test=true -&referrer=https://www.npmjs.com/package/@cedx/akismet -&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 -&user_ip=192.168.0.1 -&user_role=administrator - -### Checks the specified spam against the service database. -POST {{apiUrl}}/1.1/comment-check -Content-Type: application/x-www-form-urlencoded - -api_key={{akismetApiKey}} -&blog=https://github.com/cedx/akismet.js -&comment_author=viagra-test-123 -&comment_content=Spam! -&comment_type=trackback -&comment_author_email=akismet-guaranteed-spam%40example.com -&is_test=true -&user_ip=127.0.0.1 -&user_agent=Spam Bot/6.6.6 diff --git a/share/key_sites_activity.http b/share/key_sites_activity.http deleted file mode 100644 index 44d9c378..00000000 --- a/share/key_sites_activity.http +++ /dev/null @@ -1,2 +0,0 @@ -### TODO -GET {{apiUrl}}/1.2/key-sites?api_key={{akismetApiKey}} diff --git a/share/submit_ham_spam.http b/share/submit_ham_spam.http index b13774fb..a484c439 100644 --- a/share/submit_ham_spam.http +++ b/share/submit_ham_spam.http @@ -2,28 +2,28 @@ POST {{apiUrl}}/1.1/submit-ham Content-Type: application/x-www-form-urlencoded -api_key={{akismetApiKey}} -&blog=https://github.com/cedx/akismet.js -&comment_author=Akismet -&comment_author_url=https://belin.io -&comment_content=I'm testing out the Service API. -&comment_type=comment -&is_test=true -&referrer=https://www.npmjs.com/package/@cedx/akismet -&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 -&user_ip=192.168.0.1 -&user_role=administrator +api_key = {{akismetApiKey}} & +blog = https://github.com/cedx/akismet.js & +comment_author = Akismet & +comment_author_url = https://belin.io & +comment_content = I'm testing out the Service API. & +comment_type = comment & +is_test = true & +referrer = https://www.npmjs.com/package/@cedx/akismet & +user_agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 & +user_ip = 192.168.0.1 & +user_role = administrator ### Submits the specified comment that was not marked as spam but should have been. POST {{apiUrl}}/1.1/submit-spam Content-Type: application/x-www-form-urlencoded -api_key={{akismetApiKey}} -&blog=https://github.com/cedx/akismet.js -&comment_author=viagra-test-123 -&comment_content=Spam! -&comment_type=trackback -&comment_author_email=akismet-guaranteed-spam%40example.com -&is_test=true -&user_ip=127.0.0.1 -&user_agent=Spam Bot/6.6.6 +api_key = {{akismetApiKey}} & +blog = https://github.com/cedx/akismet.js & +comment_author = viagra-test-123 & +comment_content = Spam! & +comment_type = trackback & +comment_author_email = akismet-guaranteed-spam%40example.com & +is_test = true & +user_ip = 127.0.0.1 & +user_agent = Spam Bot/6.6.6 diff --git a/share/usage_limit.http b/share/usage_limit.http deleted file mode 100644 index 5d2c554e..00000000 --- a/share/usage_limit.http +++ /dev/null @@ -1,2 +0,0 @@ -### TODO -GET {{apiUrl}}/1.2/usage-limit?api_key={{akismetApiKey}} diff --git a/share/key_verification.http b/share/verify_key.http similarity index 74% rename from share/key_verification.http rename to share/verify_key.http index 98711cde..e015377a 100644 --- a/share/key_verification.http +++ b/share/verify_key.http @@ -2,5 +2,5 @@ POST {{apiUrl}}/1.1/verify-key Content-Type: application/x-www-form-urlencoded -blog=https://github.com/cedx/akismet.js -&key={{akismetApiKey}} +blog = https://github.com/cedx/akismet.js & +key = {{akismetApiKey}}