# cURL error 35 when trying to connect

**URL:** <https://meta.discourse.org/t/curl-error-35-when-trying-to-connect/57804>\
**Category:** WordPress\
**Created:** [22 Febrero, 2017 18:11 UTC](https://meta.discourse.org/t/curl-error-35-when-trying-to-connect/57804 "2017-02-22T18:11:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [22 Febrero, 2017 18:18 UTC](https://meta.discourse.org/t/curl-error-35-when-trying-to-connect/57804/2 "2017-02-22T18:18:49Z")

</div>

I’m not sure what your complete curl command looks like, but try this:

```
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET https://foro.denki.es/users/system.json

```

Since this isn’t a protected endpoint you don’t need the api\_key and api\_username, but they should still work.

---

_[View the full topic](https://meta.discourse.org/t/curl-error-35-when-trying-to-connect/57804)._
