Skip to content

Instantly share code, notes, and snippets.

View AZIZGASIMOV94's full-sized avatar

Aziz Gasimov AZIZGASIMOV94

View GitHub Profile
@AZIZGASIMOV94
AZIZGASIMOV94 / curl.md
Created April 26, 2022 12:13 — 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.

public class User{
String userName;
String userEamil;
public User(String name,String email){
userName = name;
userEmail = email;
}
public static void main(String[] args){
public class Example{
int x;
public Example(){
x = 1;
}
public static void main(String[] args){
Example objOfExample = new Example();
System.out.print("value of x = " + objOfExample.x);