answersLogoWhite

0


Best Answer

Advantages: * Absolute minimum barrier to use - By not using encryption or special authentication methods, anyone with access to the internet should be able to begin working with your API quickly. * Easily distributed code - Login accounts or developer key programs that make use of your API can be widely distributed and used right out of the box. * Less to worry about - If you aren't managing user accounts or development keys, it's one less thing to keep track of, and your code efforts can concentrate solely on developing the API itself. Disadvantages: * No control - Anyone, anywhere, can use the API, and while this may sound like the goal of web services, it drastically limits your response if abuse requests begin pouring in. If those requests are coming from an application on a single machine, it is easy enough to recognize the requests and block them at the firewall. But should an application that behaves poorly reach wide distribution, you will have a very difficult time dealing with the requests. * No encryption - All requests and responses are visible to anyone between the requesting server and the API server. * Can't contact developers - Because anyone anywhere can access the API without any prior registration, you are left without any method of directly engaging developers using the API. You may want to contact developers in situations where their application is being abusive, when changes are being made to the API that will affect their application, or to seek suggestions on how to improve the API itself. * Abuse - Unfortunately today, systems with little or no security or authentication make prime targets for abuse by some less ethical elements out there.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the advantages disadvantages of testing APIs i.e application programming interface in cplusplus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

A function and a class which is preferred and which is legal in cplusplus programming language?

you


Where could you learn the programming language Cplusplus on the internet for free?

There are a number of websites that can teach C++ programming for no cost. Please see the related links for some sites.


What is constructor in cplusplus?

A constructor is a special member function which have same name as the class name.`


What can Cplusplus do vs HTML?

C++ can be used to make programs, HTML is for weblayouts and whatnot.


What are good C plus plus websites?

You can learn from YouTube as that is the best way to go interactive. If you already know about programming and coding then you can go for websites with documentation and notes. The most intense in the Microsofts Developers Network. After that you can go for tutorialspoint or cplusplus (dot) com.


Opening and closing a file in cplusplus?

You can use any usual C-functions like fopen/fclose or open/create/close.


Program to do for cplusplus that needs the else if ladder can you tell you how to do that?

if (bool expression 1){...}else if (bool expression 2){...}else if (bool expression 3){...}


How do you do percentages in cplusplus?

Same as everywhere else... To find 20% of 1332: 20/100 = 0.2 0.2 * 1332 = 266.4. So 20% of 1332 = 266.4


C plus plus program questions with answers?

I found cplusplus-answers.blogspot.com They have a lot of information on questions with answers and some without answers too but it is very helpful


Where can one find information on codeblocks?

To find information on codeblocks, one can go to the website Codeblocks. As well, one can go to Stack Overflow, Sci Brooklyn Cuny Edu, CPlusPlus, Ogre3d, and Cprogramming.


How do you get a 3ds Max 8 model with a procedural material into a Cplusplus or managed directx program?

Two ways to do this. The easy way is to bake it out. The hard way is to program the shaders and the material tree you've created in Max.


How do you pass a class in programming cplusplus?

A class is a type. You cannot pass a type in C++, you can only pass an object of the type, either by value or by reference. The only way to physically pass a type is to pass a void pointer (void*), then use expensive runtime type information to determine the runtime type of the object being referred to. However, it's much more efficient (and easier) to simply pass a base class that provides the generic (virtual) interface required by your function.