No description
Find a file
2025-12-12 22:06:53 -05:00
website feat: added response code key 2025-12-12 15:57:08 -05:00
.gitignore feat: added response code key 2025-12-12 15:57:08 -05:00
post.curlrc feat: simplify post request 2025-12-11 21:22:59 -05:00
post.ps1 feat: powershell script changes 2025-12-11 22:18:25 -05:00
post.sh feat: update scripts to have command line arguments 2025-12-11 22:07:04 -05:00
README.md docs(readme): update examples 2025-12-11 22:12:07 -05:00

Setup

  1. Make the script executable: chmod +x post.sh
  2. The already created configuration file, post.curlrc, is in the same folder as post.sh:
score=0&time=00000&name=test&activityId=0&templateId=0
  • This file stores all the POST data for curl.
  • Since the file is named post.curlrc (not .curlrc), you must tell curl to use it with --config ./post.curlrc.

How to Use the Script

  1. Open the WordWall resource in your browser. Example URL: https://wordwall.net/resource/104101895/test
  2. Find the activityId in the URL. In the example above, it is 104101895.
  3. Find the templateId:
    1. Open your browser's Developer Tools (F12 or right-click -> Inspect).
    2. Go to the Network tab.
    3. Reload the page to capture all requests.
    4. In the filter box, type templateId.
    5. Look for a GET request URL containing templateId= Example: https://wordwall.net/leaderboardajax/getoption?activityId=104101895&templateId=2&authorUserId=32017905
    6. Copy the number after templateId=. In the example, it is 2.

Update the POST Request

Edit post.curlrc to include the correct values:

score=0&time=0&name=test&activityId=104101895&templateId=2

Sending the Request

Run the script:

  • Shell Example: ./post.sh score=100 time=00000 name=test activityId=104101895 templateId=2
  • Powershell Example: ./post.ps1 score=100 time=00000 name=test activityId=104101895 templateId=2