Don't use single quotes, use double quotes and escape the inner doublesdouble quotes:
curl -g -i -X POST -H "Content-Type:application/json" -d "{ \"profilphotoid\" : 1 }" localhost:8080/users Note: -g is useless in this example.
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalDon't use single quotes, use double quotes and escape the inner doublesdouble quotes:
curl -g -i -X POST -H "Content-Type:application/json" -d "{ \"profilphotoid\" : 1 }" localhost:8080/users Note: -g is useless in this example.
Don't use single quotes, use double quotes and escape the inner doubles quotes:
curl -g -i -X POST -H "Content-Type:application/json" -d "{ \"profilphotoid\" : 1 }" localhost:8080/users Note: -g is useless in this example.
Don't use single quotes, use double quotes and escape the inner double quotes:
curl -g -i -X POST -H "Content-Type:application/json" -d "{ \"profilphotoid\" : 1 }" localhost:8080/users Note: -g is useless in this example.
Don't use single quotes, use double quotes and escape the inner doubles quotes:
curl -g -i -X POST -H "Content-Type:application/json" -d "{ \"profilphotoid\" : 1 }" localhost:8080/users Note: -g is useless in this example.