Show Posts


Messages - praveenbaranwal

Pages: [1]
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




Pages: [1]

Powered by SMFPacks Social Login Mod