Skip to content

Instantly share code, notes, and snippets.

View borjapazr's full-sized avatar
🐮
Éche o que hai!

Borja Paz Rodríguez borjapazr

🐮
Éche o que hai!
View GitHub Profile
@borjapazr
borjapazr / postman-oauth-pre-request.js
Created April 21, 2020 08:14
Postman OAuth 2.0 pre-request with 'password' grant type
const postRequest = {
url: pm.collectionVariables.get('token_url'),
method: 'POST',
header: 'Content-Type:application/x-www-form-urlencoded; charset=utf-8',
body: {
mode: 'urlencoded',
urlencoded: [
{
key: 'client_id',
value: pm.collectionVariables.get('client_id'),
@borjapazr
borjapazr / app.component.ts
Last active March 10, 2021 08:51
Angular 7 custom loader
<custom-loader></custom-loader>