If you want noweb syntax disabled for exporting, but enabled for tangling you can use :noweb no-export
#+BEGIN_SRC org :noweb no-export
,#+BEGIN_SRC sh
curl -XPOST 'localhost:9200/thing/doc/1' -d'{"body": "foo"}'
curl -XPOST 'localhost:9200/thing/doc/2' -d'{"body": "bar"}'
<<refresh>>
,#+END_SRC
#+END_SRC