C
C#14mo ago
Ashtondup

❔ Deferent API

What is the deference between the deferent type of API's that are there. Like REST and SOAP
6 Replies
Pobiega
Pobiega14mo ago
What do you mean by different types of API? Can you provide some examples?
Ashtondup
AshtondupOP14mo ago
Like REST and SOAP
Pobiega
Pobiega14mo ago
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
Ashtondup
AshtondupOP14mo ago
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😂
Pobiega
Pobiega14mo ago
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"
Accord
Accord14mo ago
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.
Want results from more Discord servers?
Add your server