How to test the backend apis via postman

How to test the apis via postman or something similar
1 Reply
Filip
Filip8mo ago
Hey @ramkumar9226. If you're using Wasp's API feature, you can use Postman to test it as you normally would - nothing special going on there from the client side. If you're talking about testing Wasp Operations (Queries and Actions), take a look at this message: https://discord.com/channels/686873244791210014/1217484119173501088/1217489104623763546 Queries and Actions shouldn't need much testing, though (especially if you're using TypeScript). The Operation's type signature and Wasp make sure everything works and is called correctly. I recommend extracting your business logic into separate functions and testing that using your preferred testing framework (also described in the above message).
Want results from more Discord servers?
Add your server