Skip to content

Instantly share code, notes, and snippets.

View valtermartins1301's full-sized avatar
👾

Valter martins jr valtermartins1301

👾
  • São Paulo - SP - Brazil
View GitHub Profile
@valtermartins1301
valtermartins1301 / curl.md
Created November 29, 2018 19:46 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

import Ember from 'ember';
const { computed, set } = Ember;
export default Ember.Component.extend({
todo: null,
title: computed.oneWay('todo.title'),
body: computed.oneWay('todo.body'),
actions: {