Message Boards Message Boards

Creating a cloud menu of web links through an API

I want to create an API that passes web links to a web page where a user then can select a web page Example:

CloudDeploy[
 APIFunction[{"name" -> "String"}, 
  HTTPResponse[
    XMLTemplate["<h1>Hello <wolfram:slot id='kname'/></h1>"][<|
      "kname" -> #name|>]] &], "Greetings"]

transfers the the api-variable name to the code example: http...Greetings?name=www.wolfram.com will display www.wolfram.com however I struggle to make that variable a hyperlink for the user to click on. Also is there a better way to create a form than to go down to XMLTemplate ?

Thanks for your help!

POSTED BY: Kay Herbert
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract