How to store postman collections in source control

Putting it in a VCS undoubtly will give you some headaches as you mentioned. Your best bet is to use Postmans functionality to share collections. Here is from the documentation found at https://www.getpostman.com/docs/sharing Starting with Postman v0.9.3 you have the ability to share and manage your collections more effectively. The first thing you will have … Read more

Saving API response in Postman to a file

There are 2 ways of saving the response to a file: Click on the small down arrow besides the “Send” button, this will show the “Send and Download” button. Click on it and postman will ask you where to save the response, when the request is done. There is a “Download” button in the response … Read more

How to change page results with YouTube Data API v3

If you look at the results, you will see a “nextPageToken” item right after “pageInfo”. This needs to be passed as the pageToken on your next request. So if you make a call to this api: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=25&order=relevance&q=site%3Ayoutube.com&topicId=%2Fm%2F02vx4&key={YOUR_API_KEY} You would make a call to this one for the next page: https://www.googleapis.com/youtube/v3/search?pageToken=CBkQAA&part=snippet&maxResults=25&order=relevance&q=site%3Ayoutube.com&topicId=%2Fm%2F02vx4&key={YOUR_API_KEY}

User registration/authentication flow on a REST API

REGISTER Tokens that expire/tokens per session are not complying with the statelessness of REST, right? No, there’s nothing wrong with that. Many HTTP authentication schemes do have expiring tokens. OAuth2 is super popular for REST services, and many OAuth2 implementations force the client to refresh the access token from time to time. My idea is … Read more

PayPal subscription vs recurring?

PayPal’s different type of recurring transactions: Subscription A subscription is created via a Website Payments Standard Subscribe button. Before 2009, the subscription profile ID started with S-XXXXXXXX. You are not able to manage these subscriptions via any API calls. After 2009 the subscription profile ID starts with I-XXXXXX. You are able to cancel these subscriptions … Read more

How do I get a list of all the GitHub projects I’ve contributed to in the last year? [duplicate]

Thanks to a tweet from @caged, I wrote this Perl script to iterate over months in my contributions: use v5.12; use warnings; use utf8; my $uname=”theory”; my %projects; for my $year (2012..2014) { for my $month (1..12) { last if $year == 2014 && $month > 1; my $from = sprintf ‘%4d-%02d-01’, $year, $month; my … Read more

Is there a way to programmatically access Google’s search engine results? [closed]

After finding this question I have been researching as the other answers seem out of date. The Google search API would be the obvious choice as quoted by other users however it is now been deprecated in favour of Custom Search API. Although not obvious at first the Custom Search API does allow you to … Read more