Answers for "rest apis headers content type"

1

what is content type header in api

Content-Type header is used in POST , PUT , PATCH to
specify the type of body you are sending
to the serve and it's required.
Posted by: Guest on December-06-2020
0

What are headers in REST API?

● I am using Accept.(Content Type.JSON) type - 
checks what I am receiving should be in JSON or XML format
● And ContentType.(Contenttype.Json) - 
checks what i am sending should be in JSON format
Posted by: Guest on June-21-2021

Browse Popular Code Answers by Language