HomePage RecentChanges REST API 2016

So... how would you go about writing a REST API in 2016.

Traditional Language with a basic Framework

Go/Golang versions

Software error:

Can't locate object method "endform" via package "CGI" at /data/scott.dd.com.au/wiki/modules/search.pl line 15.

For help, please send mail to the webmaster (webmaster@dd.com.au), giving this error message and the time and date of the error.