Skip to content

Instantly share code, notes, and snippets.

@jspillers
Last active August 29, 2015 14:27
Show Gist options
  • Save jspillers/55d7506b1684de520dc7 to your computer and use it in GitHub Desktop.
Save jspillers/55d7506b1684de520dc7 to your computer and use it in GitHub Desktop.
$ curl -v -H "X-api-key:3ae47116afd18eb95745fea793d35905" -H "Content-Type: multipart/form-data" -X POST https://semamediadata.com/api/1.0/ocr/ -F file=@"/Users/jarrod/projects/boost_apps/sema_api_ruby/spec/test_images/no_text.jpg" -F lang=en -F outform=json -F sp=True -F mh=True -F df=True -F noempty=True
* Hostname was NOT found in DNS cache
* Trying 37.61.200.17...
* Connected to semamediadata.com (37.61.200.17) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
* Server certificate: www.semamediadata.com
* Server certificate: GlobalSign Organization Validation CA - SHA256 - G2
* Server certificate: GlobalSign Root CA
> POST /api/1.0/ocr/ HTTP/1.1
> User-Agent: curl/7.37.1
> Host: semamediadata.com
> Accept: */*
> X-api-key:3ae47116afd18eb95745fea793d35905
> Content-Length: 66343
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=------------------------581113c3166e4b31
>
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Date: Thu, 13 Aug 2015 15:31:37 GMT
* Server Apache/2.2.22 (Debian) is not blacklisted
< Server: Apache/2.2.22 (Debian)
< Vary: Accept,Accept-Encoding
< Content-Language: en
< Allow: POST, PUT, OPTIONS
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
<
* Connection #0 to host semamediadata.com left intact
{"frames":[]}]}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment