❔ Deferent API
What is the deference between the deferent type of API's that are there. Like REST and SOAP
6 Replies
What do you mean by different types of API?
Can you provide some examples?
Like REST and SOAP
API is a very broad term, so it's like asking what is the difference between foods.
REST is a design guideline, SOAP is an envelope
Soap is not used much these days, and it's mostly legacy systems
REST had a strong phase where everyone was doing it, but like most pure concepts it had issues. These days most people design a rest-like api, but deviate when it's not a good fit
Thank you
I need to do community interaction for a uni module so I have to ask dumb like this, that I just can google😂
SOAP uses XML, and REST traditionally uses JSON, but its not forced to
a lot of people also confuse "REST" and "RESTful" with just "an API that uses JSON as its request/response format"
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.