• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

No Validation Response in API

Bug Report
2
2
215
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    eslam226 last edited by 20 Feb 2020, 09:31

    When creating customer account with existing email the response (200 ok) but no message

    1 Reply Last reply Reply Quote 0
    • S
      shivam-webkul last edited by 26 Feb 2020, 04:33

      Hello, @eslam226

      Did you put all the validation rule into top of the code execution ?

      ex - $this->validate(request(), [
      'email' => 'email|unique:customers,email'
      ]);

      Try the below code if your issue is not resolved let me know.

      Thanks

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post