1

By default this method returns an empty JSON , i want to how to return some response such as "correct" or "fail" , for example

1 Answer 1

1

The easiest way, or at least how this part was designed to be used in Magento, is to check for the HTTP response code for success/failures, and use the Location in the response header to make another call to retrieve the newly created customer details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.