Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Rails API Coding the API cURL Review

Antonio Falcetta
Antonio Falcetta
14,192 Points

I have a problem

I am Italian and I can not understand so well your language

I have the following problem:

When using cURL, -H is a flag for:

When using cURL, -d is a flag for:

2 Answers

Gianmarco Mazzoran
Gianmarco Mazzoran
22,076 Points

Ciao Antonio,

premetto che di Ruby non ne so molto.

Ho trovato questa interessante documentazione riguardo lo strumento "curl" in ruby.

Leggendo nella documentazione sono specificati tutti i comandi, compresi -H e -d.

Le risposte sono:

When using cURL, -H is a flag for: header When using cURL, -d is a flag for: data

Antonio Falcetta
Antonio Falcetta
14,192 Points

Grazie mille per l'aiuto.

Saluti. Antonio

Gianmarco Mazzoran
Gianmarco Mazzoran
22,076 Points

Sono felice di averti aiutato! :tada: Ciao!