subasraj / flashpost-support

Flashpost is a lightweight Rest API Client Extension for Visual Studio Code.
MIT License
12 stars 0 forks source link

[BUG] Localhost subdomains are not recognized #56

Open ezeholz opened 1 month ago

ezeholz commented 1 month ago

Hey, so I work everyday with subdomains in my localhost machine. And If I try to use flashpost, it fails to get them.

---------------- Running Request ----------------
Request URL: http://api.localhost:5000/test
Method: get
Headers: {"Cache-Control":"no-cache","Accept":"*/*","User-Agent":"Flashpost","Accept-Encoding":"gzip, deflate","Connection":"keep-alive"}
data: undefined
Error: getaddrinfo ENOTFOUND api.localhost

---------------- Running Request ----------------
Request URL: http://api.localhost:5000/test
Method: post
Headers: {"Cache-Control":"no-cache","Accept":"*/*","User-Agent":"Flashpost","Accept-Encoding":"gzip, deflate","Connection":"keep-alive"}
data: undefined
Error: getaddrinfo ENOTFOUND api.localhost

Would you be able to check it out, please? Thanks!