[BUG] invalid headers generated in curl
gabriel-vasile opened this issue · 2 comments
gabriel-vasile commented
To Reproduce
- navigate to https://rakutentech.github.io/laravel-request-docs/?api=https://raw.githubusercontent.com/rakutentech/laravel-request-docs/master/ui/public/sample.json#POSTapi/register
- click on any request
- click on Show curl command
Expected behavior
valid HTTP headers
-H "Content-Type: application/json"
Actual behaviour
-H "0: Content-Type: application/json"
kevincobain2000 commented
Thanks
This is first time someone reported this. Which also means that no one ever used the curl feature.
This should be easy fix.
kevincobain2000 commented
I couldn't reproduce this. I think it is an issue on the static demo site. The real project doesn't show up index keys.