0

I'm experimenting with creating records through Postman. I have authenticated, and I'm able to query data, so I think authentication is OK. However when I'm trying to create or update an Account, it completely ignores the body of the json, and just returns a 200 ok.

I'm new to this, so it might be something very basic I have missed.

enter image description here

2
  • 1
    How did you confirm that Salesforce is ignoring the body?
    – Saroj Bera
    Commented Jun 11, 2022 at 12:40
  • 2
    What you're seeing in the response body there is the describe data, which is returned by a GET request to the same endpoint. Your setup looks correct; did you actually send a POST request?
    – David Reed
    Commented Jun 11, 2022 at 14:58

2 Answers 2

2

Solved it, the URL was wrong. It needs to be my.salesforce.com NOT lightning.force.com

-1

In postman check these settings enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .