abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Pulling local URL from storage

I stored a URL (ip_address) specific to a customer login & password that I want to use throughout the program for REST services. How do I get this variable? I'm struggling.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Pulling local URL from storage

Hello Mike,
If you store 'URL' variable in localStorage, then you can use the following code:

pre
localStorage.getItem('URL');
/pre

abigdreamer
Posts: 0
Joined: Fri Jul 12, 2013 7:20 pm

Pulling local URL from storage

the ip_address is inside the (backend ) database YOURS -- in the same table as the username and password. I'm having issues GETTING it to my {restvar}

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Pulling local URL from storage

Please tell what have you tried.
Did you check here http://docs.appery.io/documentation/b... ?

Return to “Issues”