Skip to content

Utilities is an API proxy containing frequently used functions.

Notifications You must be signed in to change notification settings

ahemanna/utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utilities

Utilities is an API proxy containing frequently used functions. Utilities currently supports below functionalities.,

  1. Base64 encoding
  2. Base64 decoding
  3. SHA256 hashing
  4. SHA512 hashing

Getting Started

These instructions will get you a copy of the project up and running on your Apigee Edge account.

Prerequisites

  1. npm CLI
  2. Maven - for build and deployment
  3. Apigee Edge account to host the API proxy

Deployment

Below steps to be followed to get the proxy up and running.,

  1. Clone the code to local system
git clone https://github.com/ahemanna/utilities.git
  1. Download the node modules using package.json present in the root directory
npm install
  1. Run the Maven command to build and deploy the proxy to your Apigee Edge account
mvn clean install -P{environment} -Dusername={edge_email} -Dpassword={edge_password} -Dorg={org_name}

Supported resources

Utilities currently supports resources to base64 encode/decode and SHA256/SHA512 hashing.

Base64 encode

POST /v1/utilities/base64encode HTTP/1.1
Host: {org_name}-{environment}.apigee.net
Content-Type: application/x-www-form-urlencoded

Sampledata

Base64 decode

POST /v1/utilities/base64decode HTTP/1.1
Host: {org_name}-{environment}.apigee.net
Content-Type: application/x-www-form-urlencoded

U2FtcGxlZGF0YQ==

SHA256 hasing

POST /v1/utilities/sha256 HTTP/1.1
Host: {org_name}-{environment}.apigee.net
Content-Type: application/x-www-form-urlencoded

Sampledata

SHA256 hasing

POST /v1/utilities/sha512 HTTP/1.1
Host: {org_name}-{environment}.apigee.net
Content-Type: application/x-www-form-urlencoded

Sampledata

Built With

About

Utilities is an API proxy containing frequently used functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published