| found = true | found = true | ||||
| return | return | ||||
| } | } | ||||
| //crmPrepareAttachmentHTTPHeader when uploading a file, we need its mime, auth header, etc. | |||||
| func crmPrepareLeadUploadHTTPHeader() (headers map[string]string) { | |||||
| headers = map[string]string{} | |||||
| headers["Authorization"] = crmAuthHeader() | |||||
| headers["Accept"] = "application/json" | |||||
| headers["Content-Type"] = "application/json" | |||||
| return headers | |||||
| } |