Title: php cURL or wp http api
Last modified: October 17, 2023

---

# php cURL or wp http api

 *  [Preexist Kudos](https://wordpress.org/support/users/camaran/)
 * (@camaran)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-curl-or-wp-http-api/)
 * Hi in my plugin can i user php curl or i must use only wp http api (wp_remote_*)

Viewing 1 replies (of 1 total)

 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [2 years, 7 months ago](https://wordpress.org/support/topic/php-curl-or-wp-http-api/#post-17129337)
 * It is better to use higher level API ( WordPress HTTP API )
   which can support
   more low level transports than cURL, i.e. fsockopen, when curl PHP extension 
   is not available.

Viewing 1 replies (of 1 total)

The topic ‘php cURL or wp http api’ is closed to new replies.

## Tags

 * [curl](https://wordpress.org/support/topic-tag/curl/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [Yui](https://wordpress.org/support/users/fierevere/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/php-curl-or-wp-http-api/#post-17129337)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
