Bagisto Forum

    Bagisto

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

    I am using API for registration but in response I am getting HTML

    General Discussion
    2
    2
    1269
    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.
    • H
      himanshu-kmr last edited by

      POST http://35.239.195.234/hemchhaya/public/api/customer/register

      Parameter Porvided
      first_name:sudip
      last_name:dig
      email:sudipdig@gmail.com
      password:123456
      password_confirmation:123456
      phone:+918100774364

      Content-Type: application/json

      But getting HTML response

      Please Help me.

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @himanshu-kmr,

        Just add Accept: application/json in your header.

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