> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://akamai.ferndocs.com/demo-apis/api/operation/spec/get-sample-string-value/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://akamai.ferndocs.com/_mcp/server. # Warn about mime types that need string examples GET http://{hostname}/test-suite/v2/sample-string-value Test for mime types that require plain/text examples. Reference: https://akamai.ferndocs.com/demo-apis/api/operation/spec/get-sample-string-value ## Request ### Query parameters - `accountSwitchKey` (string, optional) — For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). ## Response ### 200 Success response ## Examples **Response** ```json "
Your request has been processed correctly.
" ``` **SDK Code** ```python import requests url = "http://{hostname}/test-suite/v2/sample-string-value" response = requests.get(url) print(response.json()) ``` ```javascript const url = 'http://{hostname}/test-suite/v2/sample-string-value'; const options = {method: 'GET'}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "http://{hostname}/test-suite/v2/sample-string-value" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("http://{hostname}/test-suite/v2/sample-string-value") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse