Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.02 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.02 KB

Golang

payload json as

{ "Id":1, "Name":"Shivam", "username":"mshivam019", "password":"password" }

payload json as

{ "username":"mshivam019", "password":"password" }

also add your jwt token as header

Delete post by id:-

request method: delete

Add post req method: POST

also add your jwt token as header

payload json as

{ "Id":1, "Name":"shivam", "Body":"hello" }

Get post by id:-

request method: get

Modify data value to anything req method: Put

payload json as

{ "Id":1, "Name":"shivam", "Body":"hello" }