Difference between revisions of "Curl -d"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  curl [[-X POST]] https://reqbin.com/echo/post/json
 
  curl [[-X POST]] https://reqbin.com/echo/post/json
     [[-H]] 'Content-Type: application/[[json]]'
+
     [[-H]] '[[Content-Type]]: application/[[json]]'
 
     -d '{"login":"my_login","password":"my_password"}'
 
     -d '{"login":"my_login","password":"my_password"}'
  

Revision as of 17:28, 23 January 2023

Advertising: