Web Development


Creating a Simple Web App That Tells You the Population of a Country

You Can Change the Layout of a Form on a Web App

Create a Simple Website That Lets You Upload a Picture and Detects the Number of Edges

Advanced Features

Web APIs

Create code for calling an API from C#:
In[]:=
EmbedCode[APIFunction[{"x""Integer"},#x^4&],"C#"]
Out[]=
Embeddable Code
Use the code below to call the Wolfram Cloud function from C#:
Code
Copy to Clipboard
using System;using System.Net;using System.Text;using System.IO;using System.Collections.Specialized;​namespace RequestTest{ class MainClass {​ public static String call(int x) { using (var client = new WebClient()) { client.Headers.Add(Content-Type,application/x-www-form-urlencoded); client.Headers.Add(User-Agent,EmbedCode-CSharp/1.0); string postData=; postData += x + = + x + &; byte[] byteArray = Encoding.ASCII.GetBytes(postData); string url = http://www.wolframcloud.com/objects/6cc5e050-077c-4a7f-ba38-6bfee00e52f8; var response = client.UploadData(url, byteArray);​ var responseString = Encoding.Default.GetString(response); client.Dispose(); return responseString;​ } } }}​

Embed

Create embedded code to help embed in other languages:
In[]:=
EmbedCode[CloudDeploy["I am a programmer"]]
In[]:=
Embeddable Code
Use the code below to call the Wolfram Cloud function from HTML:
Code
Copy to Clipboard
<iframe src=https://www.wolframcloud.com/objects/d9838e1b-8c4f-4b1a-99d6-a87d41df9d9d?_embed=iframe width=600 height=800 />
FURTHER EXPLORATIONS
Mobile Apps
AUTHORSHIP INFORMATION
Prahasi Kacham
6/22/17