Skip to main content

Posts

Showing posts from February 4, 2019

Synchronous and Asynchronous

Synchronous and Asynchronous In this post, we will learn about synchronous and asynchronous process. Synchronous Operation A synchronous operation blocks a process till the operation completes. Synchronous basically means that you can only execute one thing at a time. Asynchronous Operation  An asynchronous operation is non-blocking and only initiates the operation. Asynchronous means that you can execute multiple things at a time and you don't have to finish executing the current thing in order to move on to next one. So asynchronous message passing allows more parallelism.  Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Curl Command

Curl Command In this post, we will learn about basic curl command with helps of example. GET CALL GET API call without parameters curl -X GET "https://example.com" -H "accept: application/json" GET API call with parameter curl -X GET "https://example.com?parameter1=parameter1&parameter2=parameter2" -H "accept: application/json" POST CALL POST API call without parameter curl -X POST "https://example.com" -H "accept: application/json" POST API call with parameter curl -X POST "https://example.com" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "parameter1": "parameter1", "parameter2": "parameter2"}" PATCH CALL PATCH API call with parameter curl -X PATCH "https://example.com/path_parameter" -H "accept: application/json" -H "Content-Type: application/json...