Skip to content

Commit

Permalink
small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoonz committed Mar 22, 2022
1 parent 59791e2 commit 3968190
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions search-api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const axios = require( 'axios' );

let config = {
method: 'get',
url: '{{host}}/v1/account',
headers: {},
timeout: 100
};

axios( config )
.then( function ( response ) {
console.log( JSON.stringify( response.data ) );
} )
.catch( function ( error ) {
console.log( error );
} );

1 comment on commit 3968190

@vercel
Copy link

@vercel vercel bot commented on 3968190 Mar 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.