Skip to content

Instantly share code, notes, and snippets.

@vokiel
Last active August 18, 2022 18:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vokiel/2c7542163428c8176095b6e164b9faef to your computer and use it in GitHub Desktop.
Save vokiel/2c7542163428c8176095b6e164b9faef to your computer and use it in GitHub Desktop.
PHPStorm xdebug POST to REST with httpie from the cli
echo '{"id":8}' | http --verify=no POST https://service.dev/api/id Content-Type:application/json 'Cookie:XDEBUG_SESSION=PHPSTORM'
@chichivica
Copy link

ohh thanks!
you saved my ass dude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment