Is Mocking HEAD method APIs possible through specmatic #1011
DarshanS4444
started this conversation in
General
Replies: 1 comment
-
Hey @DarshanS4444, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem statement : Unable to stub responses for a HEAD method API.
Description : We are trying to mock stub responses for download invoice PDF feature. The API used to return the downloaded invoice has method type HEAD, and content type as application/pdf in response header. The response body is in the form of inputstream.
Getting the following error :
An operation is not implemented: Method "HEAD" in scenario New scenario
Information required : Is it possible to stub API with method HEAD. Please let us know. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions