You can post a json file with curl
like so:
curl -X POST -H "Content-Type: application/json" -d @FILENAME DESTINATION
so for example:
# SetAssemblyVersion.ps1 | |
# | |
# http://www.luisrocha.net/2009/11/setting-assembly-version-with-windows.html | |
# http://blogs.msdn.com/b/dotnetinterop/archive/2008/04/21/powershell-script-to-batch-update-assemblyinfo-cs-with-new-version.aspx | |
# http://jake.murzy.com/post/3099699807/how-to-update-assembly-version-numbers-with-teamcity | |
# https://github.com/ferventcoder/this.Log/blob/master/build.ps1#L6-L19 | |
Param( | |
[string]$path=$pwd | |
) |
SET FOREIGN_KEY_CHECKS=0; | |
-- ---------------------------- | |
-- Table structure for base64_data | |
-- ---------------------------- | |
DROP TABLE IF EXISTS `base64_data`; | |
CREATE TABLE `base64_data` ( | |
`c` char(1) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL, | |
`val` tinyint(4) DEFAULT NULL | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |