danielgtaylor / restish

Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
https://rest.sh/
MIT License
900 stars 74 forks source link

Create API Specific Commands from PostgREST #235

Open cboecking opened 9 months ago

cboecking commented 9 months ago

Hi Daniel, thank you for all that you have done with this project!

I am having difficulty creating API specific commands (https://rest.sh/#/guide?id=api-specific-commands) from a https://PostgREST.org endpoint. I believe I know why; however, I just wanted to confirm my details and get your advice:

I will be going to the postgREST team to help support them to update the tool to work with rest.sh. Please offer any thoughts and advice as you deem appropriate.

Here is the error: rest-sh-01 /usr/local/bin🔒 ❯ ./restish api configure jelly http://3.92.228.30:3000/ Setting up a default profile ? Select option for profile default Finished with profile ? Select option Save and exit

rest-sh-01 /usr/local/bin🔒 took 8s ❯ ./restish jelly --help panic: could not detect API type: http://3.92.228.30:3000/

goroutine 1 [running]: github.com/danielgtaylor/restish/cli.Run() /home/runner/work/restish/restish/cli/cli.go:822 +0xb76 main.main() /home/runner/work/restish/restish/main.go:40 +0x23a

Thank you for your time and consideration! Chuck Boecking