The server is returning 200(using curl) and without saving the output I don't see any results on the other side, that's why I wanted to see the response.
Using failure catch also not helps, still POST action is not working. But the GET is ok
* Trying 104.130.212.148...
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs/
* TLSv1.2, TLS handshake, Client hello (1):
* TLSv1.2, TLS handshake, Server hello (2):
* NPN, negotiated HTTP1.1
* TLSv1.2, TLS handshake, CERT (11):
* TLSv1.2, TLS handshake, Server key exchange (12):
* TLSv1.2, TLS handshake, Server finished (14):
* TLSv1.2, TLS handshake, Client key exchange (16):
* TLSv1.2, TLS change cipher, Client hello (1):
* TLSv1.2, TLS handshake, Unknown (67):
* TLSv1.2, TLS handshake, Finished (20):
* TLSv1.2, TLS change cipher, Client hello (1):
* TLSv1.2, TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
* subject: OU=Domain Control Validated; OU=COMODO SSL Wildcard; CN=*.
toggl.com* start date: 2015-08-11 00:00:00 GMT
* expire date: 2016-08-17 23:59:59 GMT
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* Server auth using Basic with user '**********************'
> POST /api/v8/time_entries/start HTTP/1.1
> Authorization: Basic
> User-Agent: curl/7.42.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 117
>
* upload completely sent off: 117 out of 117 bytes
< HTTP/1.1 200 OK
< Server: nginx
< Date: Sat, 31 Oct 2015 20:00:15 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 252
< Connection: keep-alive
< Keep-Alive: timeout=20
< Cache-Control: no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0
< Instance: toggl-balancer5
<