#rlleo - API integration

1 messages · Page 1 of 1 (latest)

spare plinth
#

HI 👋
what's up?

storm solar
#

hi Snufkin

#

thanks for picking up the msg

#

i am curious what does 'Request POST body' mean?

#

for example in this request

#

req_uMCoT7i0ktldyQ

spare plinth
#

That's the body that was sent in the POST request as form-encoded data.

storm solar
#

sorry for my non-developer background, does that mean the data sent after the user correcting the invalid data?

spare plinth
#

Not necessarily. This is the data sent in the POST request

#

to /v1/accounts

storm solar
#

ah so the request after the first request?

spare plinth
#

There is nothing here that tells me anything about what request is first. You gave me a request ID and I looked at it to tell you what's in the POST body. What is your actual question?

storm solar
#

i would like to know what is the input of the user gave that does not pass the first-time verification and what is the one that passes eventually, so we can improve our form

spare plinth
#

What do you mean "what is the one that passes eventually"? In the case of the request ID you shared the error is clear that the postal code fails country-specific validation

storm solar
#

thanks

spare plinth
#

Do you have another request that is successful?

storm solar
#

it looks like the customer puts a 'space' after post code?

#

yeah i ahve

#

req_7bMRPuQhCwCeYZ

#

for example, this one did not pass phone checkk but passes postcode

spare plinth
#

Okay so the error messages our API is providing give you some pretty clear indications what is wrong.