https://linen.dev logo
#help
Title
# help
e

Ekta Bansal

08/01/2023, 7:55 AM
how we can post an api with xml body for ex: curl --location 'https://74-dev-ed.develop.my.salesforce.com/services/async/33.0/job' \ --header 'X-SFDC-Session: 00D5i00000DV5CA!AQcAQFjJYzj19hRtujNzPFGSxYIJCOGR4RCTv62x9hfZOAfyB.5QAcRf.PanM57yU.Yn4WnEKra2Nc3lFDr5Yq.PNrJLTgV7' \ --header 'Content-Type: application/xml' \ --header 'charset: UTF-8' \ --header 'Authorization: Bearer 00D5i00A!AQcAQFjJYzj19hRtujNzPFGSxYIJCOGR4RCTv62x9hfZOAfyB.5QAcRf.PanM57yU.Yn4WnEKra2Nc3lFDr5Yq.PNrJLTgV7' \ --header 'Cookie: BrowserId=0DGL8hZAEe6HAueCgCFUZg; _abck=9A1695008D16191FB2157E68597C8287~-1~YAAQnZYRYE/3miSJAQAAXoUYKwobKckfOXlIduq5fXZGCUVfYzyi0gcccOXikBtnwoqshaHB3rseea2lQEDm7CiH+qZOfYIM9NSnOUmPiQhvcC96bekskbFqtZx2E6zV/tA/we2grTwkWbCwIe3co1Z0g9N8J1t+W1xApvlLLjn4ZFLjowQykkQeJY6t9Z+lE0FIddM0U6WTC/+ozx8+R7Qy8LS+ip/Lzlg82HL5/8RmVBaBITuwuSpHjSkUJ0JLJ9wOz+9BTSZcUEdyperBGSnzgxXfTeML/3632rgjX7klFsPYNSGLOqLpFcGNOw2qHSXnVSFQjz4V8gIlVzYMgk0UcFZshr56LAH1mBI72HgBvUx8I44AlwkJ1QaFg8FFFgu6bSIcr1727Xg=-1-1~-1; CookieConsentPolicy=0:1; LSKey-c$CookieConsentPolicy=0:1' \ --data '<?xml version="1.0" encoding="UTF-8"?> <jobInfo xmlns="http://www.force.com/2009/06/"> <operation>update</operation> <object>Account</object> <contentType>CS</contentType> </jobInfo>'