[API] Can not get Get Customer’s Information using API
-
I call API endpoint: http(s)://example.com/public/api/customer/get and get error:
Please help me. Thanks -
@khanhlp
You need to be login first through api for that customer, after that you can get information of customer. -
@Jyoti I logged in, but can not get information of customer.
-
@khanhlp
Have you passed content type in header? -
@Jyoti What is the content type in header? I have passed content type as application/json
-
@khanhlp I logged in, but can not get information of customer.
-
Hi @yomnademerdash,
Can you share me the login api's header and body screenshot.
-
Hello, @yomnademerdash
Did you manage to solve your problem? If so, could you tell me how you managed to solve it? I have the same problem. -
Hi @yomnademerdash,
I need more information to reproduce this. As from your screenshot, it clearly says authentication is missing. Please log in and pass the latest token to fetch data from the API.