How can I retrieve my created collection? - google-chrome

Created a collection and a bunch of requests in the postman app. After turnoff from the chrome with clean data lost my Postman all collection information. I Checked windows 10 following location to get IndexedDB but the location is empty. What to do? How can to retrieve my created collection?
C:\Users\your username\AppData\Roaming\Postman\IndexedDB\

postman is cloud-based so it would available in web app :
https://app.getpostman.com/
it seems like your postman is corrupted
you should reinstall postman
Can you try deleting the “Postman” folder or renaming it to “Postman.old” from below two locations and then reinstall the latest version from here 5 and see if that helps?
C:\Users\<user>\AppData\Local
C:\Users\<user>\AppData\Roaming
Stop all running instance of postman by going to task manager

Related

Apps script web app deployment wont work after moving to a proper GCP

I am developing a GAS app.
Im using clasp to develop locally. I managed to get the connection working in order to run functions locally.
This required to move the GAS project from the default one to a new dedicated project.
I had to set up a proper OAuth ID in order to get the credentials for clasp, as they show in their Documentation.
The issue now is that the previosuly working webb app deployment dont work anymore. I get the next error:
404:
The requested URL /scripts/<MyProjectId>:run was not found on this server.
error screenshot
I'm thinking the web app deployment needs a proper OAuth or some other configuration in the new GCProject, but i cant figure out what it is.
Thanks in advance for any help.

When does the AWS .NET SDK load credential files? Is it on startup or on initializing client or...?

As my title states, we are using the AWS .NET SDK and on our web.config configured a profile that points to a credentials file(see: https://docs.aws.amazon.com/sdk-for-net/v2/developer-guide/net-dg-config-creds.html using credentials file) on the disk(so out of the source code). This seems to work fine but we are rotating these keys every x period so we need to change the keys within the file. My question is does de AWS .NET SDK notice that the file is changed and automatically load the new credentials or when does it actually load? In other words, if we change the credentials in this file do we need to do additional steps for the application to actually use them?
What I tried now is start up the application locally, change the credentials to a faulty one and calls are still going thru without a problem. Next, I stopped my application and rebuilded in with the same file having faulty credentials. After doing this the application is still able to make correct calls so I'm wondering how this works as if it is falling back on credentials that did work. Or maybe I just didn't test right.
We are using .net framework 4.6.2 application using the aws sdk version 3.3
Also what i forgot to mention is that for each request we initialize the client like this:
using (AmazonCognitoIdentityProviderClient client = new AmazonCognitoIdentityProviderClient(regionEndpoint))
Short answer is creating a client like that will cause the credentials to be read from the credentials file when the first client is created.
The longer answer is when you create without credentials the client uses the FallbackCredentialsFactory class to find credentials either through the credentials file or environment like EC2 instance metadata. The FallbackCredentialsFactory has a static instance of Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain which is what gets the credentials for a profile.
If you want to something different you could have your code create an instance of CredentialProfileStoreChain before creating a client and use that to get the credentials and pass those credentials into the client.

How to set a api endpoint for json in windows?

I am looking for a solution to set a api end point for the json file in windows. This json should show the updated value whenever it get updated.
Can anyone help to suggest for the right approach?
Thank you
there are a million ways to do it (nginx, apache httpd, lighthttpd, IIS, even a simple netcat server could do it, to mention a few), but
the simplest way i can think of is to just host the json file from HFS
(a simple HTTP file server that runs as a single stand-alone exe, and requires no installation, and is free and open source)

Http POST for loading a mock json file

I have an application which hits APIs on the server. But the server isn't developed yet so I am using mock .json files on my local machine to proceed with client side development (which uses angularjs). Some of the APIs need to send POST requests (example: login). When I send POST requests to hit my mock .json files it gives me 400 status error. Is it possible to request .json file with Http Post method ?
I don't think you can use POST on local file only GET. One solution is to host your own server and mock from there. There are also website that help you do this for example Owllang

load the mysql driver in android emulator

how to load the mysql server in android emulator
i.e
Class.forName("com.mysql.jdbc.Driver")
i got the exception java.land.ClassNotFoundException in com.mysql.jdbc.Drive
please reply me.
This assumes MySQL is publicly available from internet, but it is never good idea .
Setup public WebService and connect to it from mobile application.
You won't be able to run MySQL server on an Android device.
What you're doing, however, is trying to load the MySQL client library. That isn't included as part of Android so you cannot load it. You'd need to include the relevant JARs in your project, if you really do want to connect to a remote MySQL database from an Android app.
If you do want to store and access data on your Android device, the awesome SQLite database is included by default, including all the APIs you need to create, upgrade and otherwise interact with SQLite databases.
When I did this I created PHP files for the database operations. I sent data in XML and received data in XML all using PHP scripts. I found this to be the easiest way for me...but you need to know PHP of course.