---
title: "Discussion on \"Gotcha: Request spec\" | Hashnode"
description: "Discussion on \"Gotcha: Request spec\". You may have faced this issue where { key: false } was treated as { “key”: “false” } when writing request specs in rails application development.\nRequest params need to be passed as json along with content-type header in order for the Rails API to ca..."
url: "https://hashnode.com/posts/gotcha-request-spec/69429a21674f0520b82f87e3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Gotcha: Request spec](https://tenzinchemi.in/gotcha-request-spec?utm_source=hashnode&utm_medium=feed)

You may have faced this issue where { key: false } was treated as { “key”: “false” } when writing request specs in rails application development. Request params need to be passed as json along with content-type header in order for the Rails API to ca...

Dec 17, 2025 · 1 min read · tenzinchemi.in  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#rspec](https://hashnode.com/tag/rspec)

## Written by

[Tenzin Chemi](https://hashnode.com/@imechemi)

@imechemi

  
[View profile](https://hashnode.com/@imechemi)

I write softwares

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
