2018年11月28日水曜日

FileMaker curl JSON とか

FileMakerのcurl設定についてのメモ。


サポートされている cURL オプション

https://fmhelp.filemaker.com/help/17/fmp/ja/index.html#page/FMP_Help/curl-options.html



encoding 引数

テキストのエンコードの設定の引数はTextEncode関数の引数と共有している
https://fmhelp.filemaker.com/help/17/fmp/ja/index.html#page/FMP_Help/textencode.html#wwconnect_header



JSON Pretty Linter - JSONの整形と構文チェック

JSON投げる時の構文チェックに
https://lab.syncer.jp/Tool/JSON-Viewer/



メモ

curlオプションでは
 "-d "& $data
↓じゃなくて
 "-d @$data"
書くと、
@付けるとcurl内のテキストでFileMakerの変数を指定できる



0 件のコメント:

コメントを投稿