Bagisto Forum

    Bagisto

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

    Issues in apis

    Bug Report
    2
    2
    168
    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.
    • M
      MuhammadNashat last edited by

      Hello
      i faced some issues in apis

      1 - if the user made register with an existing email in the database it return for me status code 200 and html content

      2 - if i made a get request to forgot password like this
      ../api/customer/forgot-password?email=email
      it return for me 404 not fount

      3 - update profile
      return for me status code 200
      and an html content with title Customer login
      normally if there is an issue there is a proper message should show up to me as a json

      1 Reply Last reply Reply Quote 0
      • D
        deepak227 last edited by

        @MuhammadNashat said in Issues in apis:

        up to me as a json

        Hello @MuhammadNashat means you want to change the message right if so then please go to the file bagisto\packages\Webkul\API\Http\Controllers\Shop\SessionController.php and change the return response as your requirement.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post