fernpost
v1.0.1
Published
Fernhub Connector Module
Downloads
1
Maintainers
Readme
==================FernHub=========================
Package: FernPost
This module allows you to integrate Fernhub APIs to your JS project
=================Installation===============
run npm i fernpost
To import module
const FernPost = require("FernPost");
configure the FERNHUB_CONFIG Integration Settings
Copy and Paste the template to your main script file
FERNBASE_CONFIG = {
HOST:REMOTE_API_HOST_HERE
,
MEDIA_HOST:REMOTE_MEDIA_SERVER_HOST_HERE
,
GET_KEY:'GET_API_KEY_HERE',
POST_KEY:'POST_API_KEY_HERE',
UPDATE_KEY:'UPDATE_API_KEY_HERE',
DELETE_KEY:'DELETE_API_KEY_HERE',
VALIDATE_KEY:'VALIDATE_API_KEY_HERE',
FERNAME:'FERNAME_HERE',
AUTH_KEY:'FERN_AUTH_KEY_HERE',
USERNAME:'FERN_USERNAME_HERE'
}
Fernbase config details are found on your specific App or Fernbase you are working with
=======example======= const res = await FernPost(FERNBASE_CONFIG,{msg:"Hello Stranger :)"}); console.log(res);
Thank you for using FernHub :)
Contact Details: email: [email protected]