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
    Jun 11 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
    Jun 11 at 14:58

1 Answer 1

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.