What 4D version are you using and how are you sending the request? What you 
have below does not correspond to any recent 4D HTTP client interface which 
passes the headers/values as two text arrays.

Why are you sending a content-length header for GET request?

John DeSoi, Ph.D.


> On Jan 4, 2019, at 2:44 PM, JasonH via 4D_Tech <[email protected]> wrote:
> 
> Trying out Taxjar, but need a little help to get started.
> 
> I'm currently sending the following to https://api.taxjar.com (or
> api.sandbox.taxjar.com)
> $vt_HTTP_Request:=\
> "GET /v2/rates/"+$vt_Zip+<>CRLF+\
> "Host: "+$vt_Service_URL+<>CRLF+\
> "Connection: close"+<>CRLF+\
> "Cache-Control: no-cache"+<>CRLF+\
> "Content-type: text/html; charset=utf-8"+<>CRLF+\
> "Content-length: "+String($vi_Content_Length)+<>CRLF+\
> "Authorization: Bearer "+$vt_API_Key+<>CRLF+<>CRLF+\
> $vt_HTTP_Request

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to