Converts a string from Base64. Used mostly for testing purposes.
/SiteServices/ConvertFromBase64StringTest
Copy URL
| Name | Type | Sent 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"
Converts a string to Base64. Used mostly for testing purposes.
/SiteServices/ConvertToBase64StringTest
Copy URL
| Name | Type | Sent 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"
Generate a list of Guids as needed. Max Guids that can be generated is 100.
/SiteServices/GenerateGuids
Copy URL
| Name | Type | Sent 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"
Uses the SearchSynonyms.GetAll method to get the full list of synonyms available in the system.
/SiteServices/GetFullListOfSearchSynonyms
Copy URL
No input parameters.
curl -X POST "https://www.wordsnaps.com/SiteServices/GetFullListOfSearchSynonyms" \
-H "x-api-key: YOUR_API_KEY"
Uses the HttpUtility.HtmlDecode from the System.Web namespace to decode an html formatted string. Used mostly for testing purposes.
/SiteServices/GetHtmlDecoded
Copy URL
| Name | Type | Sent 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"
Uses the HttpUtility.HtmlEncode from the System.Web namespace to encode an html formatted string. Used mostly for testing purposes.
/SiteServices/GetHtmlEncoded
Copy URL
| Name | Type | Sent 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"
Creates an Xml of default questions for backup of given category.
/SiteServices/GetQuestionsForCategory
Copy URL
| Name | Type | Sent as |
category |
String | query string |
curl "https://www.wordsnaps.com/SiteServices/GetQuestionsForCategory?category=value" \
-H "x-api-key: YOUR_API_KEY"
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
| Name | Type | Sent 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"
Uses the HttpUtility.UrlDecode from the System.Web namespace to decode a url. Used mostly for testing purposes.
/SiteServices/GetUrlDecoded
Copy URL
| Name | Type | Sent 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"
Uses the HttpUtility.UrlEncode from the System.Web namespace to encode a url. Used mostly for testing purposes.
/SiteServices/GetUrlEncoded
Copy URL
| Name | Type | Sent 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"
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
| Name | Type | Sent 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"
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
| Name | Type | Sent 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"
Test internal notification service worker.
/SiteServices/TestSendStandardNotification
Copy URL
No input parameters.
curl "https://www.wordsnaps.com/SiteServices/TestSendStandardNotification" \
-H "x-api-key: YOUR_API_KEY"