Skip to content
Learn
Quick Start
Features
Components
Slack Channel
Pricing
Marketplace
Connections
Designs
SellDev
Support
Store
Get Started Now
Login
Last modified
by -
5 years
ago
402 Views
Less than a minute read
How to get error message when using wp_remote_post and wp_remote_get
Was this information helpful?
Loading...
Code Snippets
When using WordPress HTTP API, if the connection fails you could use the below code to display the error message.
Post navigation