Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest Client Obs3: Getting response for the improper request after updating a GET Service (TS3) #590

Open
pkotha5 opened this issue Jan 6, 2020 · 1 comment
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@pkotha5
Copy link

pkotha5 commented Jan 6, 2020

Steps : 1. Create a service with POST RR, GET RR Pair
2. Blank out Request payload and Uncheck “Add Request Payload for GET” in the GET method
3. Click on “update”
4.Open REST Client and give GET Request Payload , Click on “Send”

Actual Result : Getting response here.

@pkotha5 pkotha5 added the bug Something isn't working label Jan 6, 2020
@Pradeep298 Pradeep298 added the invalid This doesn't seem right label Jan 7, 2020
@Pradeep298
Copy link
Contributor

Pradeep298 commented Jan 7, 2020

Yes you should get response here. There is no issue and this is fine. With get request it doesn't matter what body or headers you set with request. Get HTTP request only need an api url. You will always get the response. That's it. If you test same scenario with POSTMAN or any other client. Get request will always give you a response irrespective of header or request payload.

Please check below answer by Paul Morgan
https://stackoverflow.com/questions/978061/http-get-with-request-body

Request body in Get HTTP request has no semantic meaning to the request. It doesn't matter what the response is. Respons is based upon just api url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants