DEV Community

Brittany Javalera
Brittany Javalera

Posted on

2

Postman

This past week I began working on a new personal project. I am collaborating with a fellow Flatiron alumna to create a jeopardy-like game. We decided that since we aren't on a deadline, that we would take this opportunity to learn and implement new skills, features, and tools.
One new tool I started using while building the rails backend, is Postman. Once I created controller methods and routes the steps are fairly easy. For example, to simulate login,

  1. Run rails server
  2. Select POST from the method drop down list
  3. Write out or copy/paste the login url
  4. In the Body tab, enter the credentials or parameters as key value pairs.
  5. Hit send and review the response.(My login method will either return user json or an error message.)

I was able to test login, signup, and check if JSON Web Tokens were being created, encoded, and decoded.
I would highly recommend utilizing this tool for anyone building out APIs.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay