Merge pull request #5742 from nishimaki10/change-curl-example

Change curl example for Incoming Integrations
pull/5756/head
Gabriel Engel 9 years ago committed by GitHub
commit ddfd757496
  1. 2
      packages/rocketchat-integrations/client/views/integrationsIncoming.coffee

@ -91,7 +91,7 @@ Template.integrationsIncoming.helpers
for key, value of data
delete data[key] if value in [null, ""]
return "curl -X POST --data-urlencode 'payload=#{JSON.stringify(data)}' #{record.url}"
return "curl -X POST -H 'Content-Type: application/json' --data '#{JSON.stringify(data)}' #{record.url}"
editorOptions: ->
return {} =

Loading…
Cancel
Save