this post was submitted on 06 Jul 2023
134 points (100.0% liked)

Programming

17484 readers
115 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

I would like to hear if any of you are using different app for API testing than Postman.

I’m not telling that Postman is bad, but maybe there’s all that I should check out. Recently I tried RapidApi and even tho the app is kinda cool I missed few options and went back to Postman for now.

(page 2) 30 comments
sorted by: hot top controversial new old
[–] nibblebit@programming.dev 2 points 1 year ago
[–] lavafroth@programming.dev 2 points 1 year ago

If you're not strictly looking for GUI tools, you might want to look into httpie or the http command built into the nu shell.

[–] xenonyx@programming.dev 1 points 1 year ago

As a lot of other comments have already suggested, HTTP Toolkit is a good alternative and I used it quite a bit prior to discovering Postman..

[–] alchemist_dev@programming.dev 1 points 1 year ago* (last edited 1 year 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.

[–] garam@lemmy.my.id 1 points 1 year ago

I would use swagger in some instance tbh

[–] Wats0ns@sh.itjust.works 1 points 1 year ago

Insomnia used to be good, but it's WebKit, so really heavy to run, it crashed my PC several times

load more comments
view more: ‹ prev next ›