This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-31
Channels
- # architecture (1)
- # aws (23)
- # beginners (13)
- # boot (18)
- # cider (5)
- # clara (1)
- # cljs-dev (22)
- # cljsjs (9)
- # cljsrn (28)
- # clojure (120)
- # clojure-canada (12)
- # clojure-dev (6)
- # clojure-italy (4)
- # clojure-korea (1)
- # clojure-russia (18)
- # clojure-sg (8)
- # clojure-spec (45)
- # clojure-uk (12)
- # clojurescript (240)
- # component (4)
- # cursive (17)
- # datomic (91)
- # editors-rus (4)
- # figwheel (2)
- # flambo (6)
- # hoplon (163)
- # instaparse (6)
- # jobs (1)
- # leiningen (2)
- # luminus (5)
- # om (22)
- # om-next (2)
- # onyx (35)
- # perun (15)
- # play-clj (1)
- # protorepl (4)
- # re-frame (106)
- # reagent (4)
- # ring (106)
- # schema (1)
- # spacemacs (17)
- # untangled (40)
- # yada (14)
Looking for some help hitting the Salesforce Bulk API
using RESTful JSON request
(http/request
(merge
{:method :post
:body "{\"operation\": \"query\",
\"object\": \"Opportunity\",
\"contentType\": \"JSON\"}"
:url ""
:headers {"X-SFDC-Session” “<access-token>"}
}
proxy-config))
Here is where I’m at right now
Getting this error:
<exceptionCode>InvalidJob</exceptionCode>n <exceptionMessage>Unable to parse Job</exceptionMessage>n</error>"}
@josh_tackett: there's a lot of context missing, but, you're passing in what looks like a JSON fragment without specifying :content-type
@oahner How would you shape the request?
where should I add content type