Detail-oriented, analytical, and self-driven programmer with extensive experience building user-facing applications. Efficient and knowledgeable coder with skills in HTML, CSS and JavaScript
-REST APIs are not always required to use JSON as their data format.
-REST APIs can use various data formats, including: JSON, XML, HTML, YAML,plain text
-JSON is the most commonly used data format for REST APIs due to its simplicity, readability, and wide support in programming languages. However, it's not a requirement for REST.
-SOAP APIs typically use XML as their data format.
If you can also use XML format for SOAP API then what is the difference between SOAP API and REST API? Sorry if this is a dumb question, i just still didn't know much about API.
Detail-oriented, analytical, and self-driven programmer with extensive experience building user-facing applications. Efficient and knowledgeable coder with skills in HTML, CSS and JavaScript
SOAP is a protocol with strict standards and is typically used for enterprise-level applications, while REST is an architectural style that relies on HTTP methods and is commonly used for public APIs and web services.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
still confused about SOAP API and REST API, is REST API always using a JSON format?
-REST APIs are not always required to use JSON as their data format.
-REST APIs can use various data formats, including: JSON, XML, HTML, YAML,plain text
-JSON is the most commonly used data format for REST APIs due to its simplicity, readability, and wide support in programming languages. However, it's not a requirement for REST.
-SOAP APIs typically use XML as their data format.
If you can also use XML format for SOAP API then what is the difference between SOAP API and REST API? Sorry if this is a dumb question, i just still didn't know much about API.
SOAP is a protocol with strict standards and is typically used for enterprise-level applications, while REST is an architectural style that relies on HTTP methods and is commonly used for public APIs and web services.