• 0 Posts
  • 1 Comment
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle
  • alchemist_devtoProgrammingPostman alternatives?
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 years ago

    xh and tiny shell scripts.

    Example: sign-up-forbidden-username.req

    #!/bin/bash
    xh POST http://0.0.0.0:2884/sign-up usename=admin password=pw
    

    to run ./sign-up-forbidden-username.req

    This returns 403 and “Username is unavailable”

    https://github.com/ducaale/xh

    xh is a rust implementation of httpie. They’re going for full parity, and works really well for what I need it for so far You can also read input from a file. Which IMO makes GUI API testing seem silly.