Skip to content

Broken curl usage #297

@art-shen

Description

@art-shen

For curl rtk replaces JSON with types for some reason:

curl -s http://localhost:8787/health)
  ⎿  {
       r2Ready: bool,
       status: string
     }

Instead of the proper (and very short answer).

  1. I believe that it's a mistake that curl responses are replaced like that.

  2. For all cases of replacement with every tool supported by RTK, I think there should be a protection that RTK output is not bigger than the original. In my case, the original JSON is even shorter than the replaced result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-importantDevrait être fixé bientôtbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions