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

Possibility to send request without saving it first #188

Open
dwlhs opened this issue Nov 7, 2024 · 0 comments
Open

Possibility to send request without saving it first #188

dwlhs opened this issue Nov 7, 2024 · 0 comments

Comments

@dwlhs
Copy link

dwlhs commented Nov 7, 2024

Hi :)

When testing an endpoint, it is necessary to save the request body, Dynamicweb Codeunit Request, before you can send it using the "Send request" button. In the example here, I have entered the XML for a price lookup in good faith that this will posted to the NAV endpoint, but I get the response for the heartbeat request, which is saved on the endpoint:

image

I believe this is something that has been changed from previous versions, but I could be wrong. This makes it more difficult to use for testing as it is a two step process. The body is supplied by the usage of the endpoint and not by the setup of the endpoint, so the only usage of the "body" field in endpoint is to test. So, the "Send request" button should take the content of the request field and send it to the endpoint. If it is necessary to save body first, the "Send request" button should save the body and send the request with the new body in one go.

Br.
Lars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant