Skip to content

Javascript Tool to checks if a URL is potentially an invalid Praized API call...

Notifications You must be signed in to change notification settings

praized/praized-api-url-checker-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Javascript Tool to checks if a URL is potentially an invalid Praized API call


Usage: 

// an invalid url
var invalid  = 'http://api.praized.com/merchants/bob.json';

// is URL valid call?
PraizedAPIURLChecker.check(invalid) // false

// get error messages
print( PraizedAPIURLChecker.messages.join(',') ); // "Api Key Missing."

TODO: 

	- separate valid resources from valid nested resources
	- separate POST from GET in verifs (mainly for: change_password, forgot_password, reset_password, resend_email_confirmation )

About

Javascript Tool to checks if a URL is potentially an invalid Praized API call...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published