News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - praveenbaranwal

#1
Hi Sam,

You can edit the Search field size by
1)goto file: public_html/storefront/view/default/stylesheet/style.css
2) Search for
.top-search input {
   width: 100%;
   border: 4px solid #F5F5F5;
   padding: 6px;
   float: left;
   vertical-align: middle;
}
Now edit the width % based on your choice. You can also choose where to keep the search box (Left or right)

Hope this helps.

Regards,
Praveen
#2
I am trying to login using below API calls in postman client where i get the response as expected.
Req type: POST
URL: Target URL
Body has following parameter
email: praveenbaranwal
password: praveen123
api_key: sweedelight800
rt: a/account/login

I am able to get the login Success with response code 200.

Next i wanted to validate my login:
Req type: POST
URL: Target URL
Body has following paramater
token: use the value received in step 1
api_key: sweedelight800
rt: a/account/login

I am getting the response code as 200 and Authorized.

The same query was sent using a java class file created (Attached java class file) but i am getting error in the 2nd part where i am trying to validate if i am logged it.

I am not sure if token will be sent as header (if yes how?).

Regards,
Praveen
+91-9739048200



Forum Rules Code of conduct
AbanteCart.com 2010 -