Pull down to refresh
  • Device Theme
  • Light Theme
  • Dark Theme
Example Site API
Calls require an API key to call. To obtain your API key, please click here.
Max calls that can be made per hour are 30.
Total methods: 13
POST

ConvertFromBase64StringTest

Converts a string from Base64. Used mostly for testing purposes.

/SiteServices/ConvertFromBase64StringTest Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
val String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/ConvertFromBase64StringTest" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "val=value"
POST

ConvertToBase64StringTest

Converts a string to Base64. Used mostly for testing purposes.

/SiteServices/ConvertToBase64StringTest Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
val String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/ConvertToBase64StringTest" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "val=value"
POST

GenerateGuids

Generate a list of Guids as needed. Max Guids that can be generated is 100.

/SiteServices/GenerateGuids Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
count Int32 form body
curl -X POST "https://www.wordsnaps.com/SiteServices/GenerateGuids" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "count=0"
POST

GetFullListOfSearchSynonyms

Uses the SearchSynonyms.GetAll method to get the full list of synonyms available in the system.

/SiteServices/GetFullListOfSearchSynonyms Copy URL
Authx-api-key Returnsapplication/json

No input parameters.

curl -X POST "https://www.wordsnaps.com/SiteServices/GetFullListOfSearchSynonyms" \
  -H "x-api-key: YOUR_API_KEY"
POST

GetHtmlDecoded

Uses the HttpUtility.HtmlDecode from the System.Web namespace to decode an html formatted string. Used mostly for testing purposes.

/SiteServices/GetHtmlDecoded Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
htmlStr String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/GetHtmlDecoded" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "htmlStr=value"
POST

GetHtmlEncoded

Uses the HttpUtility.HtmlEncode from the System.Web namespace to encode an html formatted string. Used mostly for testing purposes.

/SiteServices/GetHtmlEncoded Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
htmlStr String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/GetHtmlEncoded" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "htmlStr=value"
GET

GetQuestionsForCategory

Creates an Xml of default questions for backup of given category.

/SiteServices/GetQuestionsForCategory Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
category String query string
curl "https://www.wordsnaps.com/SiteServices/GetQuestionsForCategory?category=value" \
  -H "x-api-key: YOUR_API_KEY"
POST

GetSearchSynonyms

Uses the SearchSynonyms.GetExpandedTerms or the SearchSynonyms.GetExpandedTermsWeighted method to get a list of synonyms based off the search value. Used mostly for testing purposes to show off how the searching will perform.

/SiteServices/GetSearchSynonyms Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
search String form body
weighted Boolean form body
curl -X POST "https://www.wordsnaps.com/SiteServices/GetSearchSynonyms" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "search=value" \
  --data-urlencode "weighted=true"
POST

GetUrlDecoded

Uses the HttpUtility.UrlDecode from the System.Web namespace to decode a url. Used mostly for testing purposes.

/SiteServices/GetUrlDecoded Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
url String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/GetUrlDecoded" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "url=value"
POST

GetUrlEncoded

Uses the HttpUtility.UrlEncode from the System.Web namespace to encode a url. Used mostly for testing purposes.

/SiteServices/GetUrlEncoded Copy URL
Authx-api-key Returnsapplication/json
NameTypeSent as
url String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/GetUrlEncoded" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "url=value"
POST

MinifyJavascript

An online JavaScript compressor that allows you to compress and minify all of your JS files by up to 80% of their original size using the Microsoft Ajax Utilities.

/SiteServices/MinifyJavascript Copy URL
Authx-api-key Returnstext/plain
NameTypeSent as
content String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/MinifyJavascript" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "content=value"
POST

MinifyStyleSheet

An online StyleSheet compressor that allows you to compress and minify all of your css files using the Microsoft Ajax Utilities.

/SiteServices/MinifyStyleSheet Copy URL
Authx-api-key Returnstext/plain
NameTypeSent as
content String form body
curl -X POST "https://www.wordsnaps.com/SiteServices/MinifyStyleSheet" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "content=value"
GET

TestSendStandardNotification

Test internal notification service worker.

/SiteServices/TestSendStandardNotification Copy URL
Authx-api-key Returnsapplication/json

No input parameters.

curl "https://www.wordsnaps.com/SiteServices/TestSendStandardNotification" \
  -H "x-api-key: YOUR_API_KEY"
?
Page Help