Warung Bebas

Tuesday, April 26, 2016

Session management aka cookies in Advanced REST Client

In recent update there is a new session management mechanism. After last big update some of you complained about lack of cookies support. The networking in Chrome apps is separated from Chrome. Therefore it wasn't possible (and still isn't) to use cookies set in Chrome tab.



However, the app is now equipped in it's own session management.


Cookie store works similar as browsers do. There might be some differences - mostly about when the cookie is deleted from the store - comparing to a browser but general idea and storing / compering / rejecting or accepting algorithms are the same as defined in the spec.

Now the Advanced REST Client will accept cookies from the remote server, save them in local database (if cookies match domain and path as described in the spec). It will send back this cookies to the server during next call where domain and path match the cookie.

You can obtain a session cookie from the login form (for example) and use this cookie automatically while testing the API. It won't work, however, with cookies set in chrome tab.
Chrome apps don't have and most probably will never have access to browser's cookie storage (or any browser data). As the author I can't do much about it since it's a Chromium team design decision.

Note: Cookies are saved locally on your computer in the app's database. It means that other apps do not have access to it. You can be sure that session cookies can't leak outside the app because of the cookie store.
Be aware however that the exported file with request data will include "Set-Cookie" headers if there was any in exported requests.

Leave a comment if you have an idea of how to improve the app!

Monday, April 25, 2016

20 Manfaat Jagung Untuk Kesehatan Dan Kecantikan Kulit

Apakah anda menyukai jagung panggang atau makanan olahan yang terbuat darinya? Jagung memang memiliki tekstur yang lembut, rasa yang manis, dan segudang nutrisi yang bermanfaat untuk kesehatan dan kecantikan. Mungkin pertanyaan dalam diri anda, apa sebenarnya manfaat jagung bagi tubuh kita?





Jagung muda bukan hanya manis dan lezat untuk disantap. Makanan sehat ini dapat diolah dengan berbagai

Friday, April 22, 2016

10 Cara Mengobati Kulit Melepuh Secara Alami Dan Cepat

Pernahkah kaki anda mengalami lepuh, kulit menggembung dan berisi cairan bening? Jika ya atau saat ini anda sedang menderitanya, tentu rutinitas harian anda menjadi terganggu dan tidak nyaman karena kondisi tersebut. Penyebab kaki melepuh cukup bervariasi, seperti pemakaian sepatu terlalu sempit dalam durasi lama.





Lepuh pada kulit juga dapat disebabkan oleh gesekan dengan benda kasar secara

Tuesday, April 19, 2016

18 Manfaat Temu Giring Bagi Kesehatan Serta Kecantikan

Obat alami - Temu giring tidak kalah populer sebagai rempah yang berkhasiat untuk mengobati berbagai jenis penyakit, selain keluarga Zingiberaceae lainnya seperti temulawak, lengkuas, temu ireng, dan jahe. Mungkin anda merasa penasaran, apa sih manfaat temu giring bagi kesehatan dan kecantikan? Untuk menjawab pertanyaan anda, simak artikel lengkap kali ini.





Nama ilmiah dari temu giring

Monday, April 18, 2016

Advanced REST Client is not in a tab anymore

Well, it can't.
Recently I've published an update of the Advanced Rest Client. New version has been upgraded to Chrome app (from so called legacy app) because old ones are deprecated in Chrome and the support for them has been removed in Chrome Web Store.


As an author there was very little I could do in this situation. I needed to upgrade the app so it still can be published Chrome Web Store. Many of you complains that the app no longer opens in Chrome tab but instead in new window. This is how Chrome apps behave and there's no going back. You can always discuss the issue with the Chromium team.

From my side I can only give you advice to open new instance of the app if you need more than one window:


Thanks for using the app and as always happy RESTing!

Thursday, April 14, 2016

14 Manfaat Temu Ireng Bagi Kesehatan Dan Kecantikan Kulit

Obat alami - Temu ireng merupakan rempah yang terkenal di dunia kesehatan. Di balik rasanya yang pahit, rempah ini sering digunakan sebagai jamu tradisional yang mampu mengatasi berbagai masalah kesehatan dan sejumlah penyakit. Mulai dari penyakit cacingan, malaria, dan gonorrhea dapat diobati menggunakan rimpangnya.





Sebelum mengupas tentang khasiat temu ireng, ada baiknya kita mengenalnya

Monday, April 11, 2016

Advanced REST Client NET::ERR_CERT_COMMON_NAME_INVALID and net::ERR_CERT_AUTHORITY_INVALID

Hi developers,

After a latest update some of you has issues with certificates in the app. You have probably seen one of this screens:


There is a solution for this. But first two words on underlying cause.
The app is a Chrome app and it is not using the same resources as the browser. Even if you allow the Chrome to enter the webpage that have certificate issues the app will not even know about it. And there is very little to do about it because the connection to external resources are controlled by Chrome.


If you see NET::ERR_CERT_COMMON_NAME_INVALID error - well, generate new certificate with proper domain name. Certificates must work on the domain that they were set for.

Fix NET::ERR_CERT_AUTHORITY_INVALID error in Advanced REST Client


It's quite easy. All its gone when you install the self signed certificate in the browser's certificates storage.

There is a video instruction of how to do it:


1. Click on the red lock in the URL bar and then details. Security tab in Chrome DevTools will appear. Click View certificate.

In new overlay select Details tab and click Export button. Save the file somewhere choosing PKCS # 7 single certificate option.

2. Open Chrome settings and under advanced find section Manage certificates button and click it.
In Authorities tab find Import button and open previously saved certificate.
Then select at least "Trust this certificate for identifying websites.".

After you restart Chrome and app it should work just fine.
 

BLOG URANG BUNGAS Copyright © 2012 Fast Loading -- Powered by Blogger