Completed
Last Updated: 25 Jan 2017 16:10 by ADMIN
Eugeniy
Created on: 23 Jan 2017 11:15
Type: Feature Request
0
Body in GET Request
Studio says it's impossible to use BODY in request that has "GET" method, why not?
3 comments
ADMIN
Oleg
Posted on: 25 Jan 2017 16:10
Thanks for clarifying. I agree that it could be a potential blocker for some customers and we will keep an eye for any future reports concerning that. As for custom methods - yes, we support any custom value for the request verb apart from the standard GET, POST, PUT, DELETE, etc. and requests with custom method support request body. 
Eugeniy
Posted on: 25 Jan 2017 15:22
Sorry, I can't answer now, it was some kind of payment system I tried to work with.
So as for me, I don't need it for now, but just as a suggestion it can happen to be your week part (can custom methods be used?).
For me post can be closed
ADMIN
Oleg
Posted on: 25 Jan 2017 14:11
Hello Eugeniy,

Thanks for keeping your interest in Test Studio for APIs. We appreciate your various feedback since the first launch of the product.

The short answer to this question is: because the http libraries that we use for http calls restrict setting a body to a GET request. We would need to make a significant rework in order to support it and since this is generally considered a bad practice, we would need a specific reason to invest in this. I know that there are products and services that utilize GET requests with body, but still this appears to be mostly an exception of the rule.

Since you ask about this, I guess that you are working on or using such products, so we would be happy if you share more details about the use cases that you are facing. I cannot promise that we would add support for body in GET requests, but if we collect feedback from more customers, than we should definitely at least reconsider the options to do so.