Skip to content

Commit 2f7e032

Browse files
committedMar 23, 2025
Split the submit ham/spam HTTP request files
1 parent 114f4f4 commit 2f7e032

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed
 

‎share/submit_ham_spam.http ‎share/submit_ham.http

-14
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,3 @@ api_key={{$processEnv AKISMET_API_KEY}}
1313
&user_agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
1414
&user_ip=192.168.0.1
1515
&user_role=administrator
16-
17-
### Submits the specified comment that was not marked as spam but should have been.
18-
POST {{apiUrl}}/1.1/submit-spam
19-
Content-Type: application/x-www-form-urlencoded
20-
21-
api_key={{$processEnv AKISMET_API_KEY}}
22-
&blog=https://github.com/cedx/akismet.js
23-
&comment_author=viagra-test-123
24-
&comment_content=Spam!
25-
&comment_type=trackback
26-
&comment_author_email=akismet-guaranteed-spam%40example.com
27-
&is_test=true
28-
&user_ip=127.0.0.1
29-
&user_agent=Spam Bot/6.6.6

‎share/submit_spam.http

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Submits the specified comment that was not marked as spam but should have been.
2+
POST {{apiUrl}}/1.1/submit-spam
3+
Content-Type: application/x-www-form-urlencoded
4+
5+
api_key={{$processEnv AKISMET_API_KEY}}
6+
&blog=https://github.com/cedx/akismet.js
7+
&comment_author=viagra-test-123
8+
&comment_content=Spam!
9+
&comment_type=trackback
10+
&comment_author_email=akismet-guaranteed-spam%40example.com
11+
&is_test=true
12+
&user_ip=127.0.0.1
13+
&user_agent=Spam Bot/6.6.6

0 commit comments

Comments
 (0)