stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

the 8ttp

  • 4 Devlogs
  • 8 Total hours

simple http requests tester with CLI

Open comments for this post

2h 9m 29s logged

it’s finally a useful tool!

in the terminal screenshot, here’s what happened:

i displayed the info of the server test, which is on port 8080 and has two endpoints (since one of them is ‘*’, any endpoint will trigger an action).

after that I set the action of the endpoint ‘*’ (which means all) to be print_payload.

then i started the server, which made it start listening to the listed endpoints on port 8080.

when a POST was sent to the port in the endpoint log, the action print_payload was triggered.

I will now use this to check the payloads from another app of mine, and it’ll allow me to build it ready to ship (instead of for example debug the values with prints or something)

0
0
15
Open comments for this post

3h 30m 39s logged

whole ton of progress!!

  • improved server manager
  • created a CLI manager
  • added sqlite support (once created commands wont vanish until deleted)
  • config.yml added
  • added commands start, stop, list, info, endpoint and create
0
0
12
Open comments for this post

2h 14m 46s logged

Initial structure implemented

created three main commands (list, edit and create)
implemented a bit of error handling
implemented the command actions

0
0
11

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…