You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SPS Commerce has reached out to us with this ask:
"We are the process of rolling out Prism in proxy mode to validate our APIs specs in services, in logging mode to evaluate traffic.
That is working quite well, except one MAJOR issue related to the stoplight platform functionality for “Send API Requests”.
Specifically, with the Prism Proxy in place with a command such as: prism proxy design/v4.oas.yml http://localhost:5000/
If I then make a curl request to the service (notice I’ve included content-type for this GET request):
curl --request GET \
--url '[http://localhost:4010/examples`](http://localhost:4010/examples) --header 'Content-Type: application/json'
This will fail on the Prism side as follows:
{
"type": "TypeError",
"title": "Request with GET/HEAD method cannot have body",
"status": 500,
"detail": ""
}
Expected Outcome:
Prism ignores content-type header if no request body
The text was updated successfully, but these errors were encountered:
Got this from SPS Commerce: "Our teams are well integrated with Stoplight for sending requests to our API, and so rolling out Prism in front of it has been halted for the time being until we can fix either the Prism side or the Stoplight side."
Between this noted issue and the issue in stoplight elements (stoplightio/elements#2351), it makes it pretty much impossible to use Prism alongside elements in the same API. Glad to see a priority of high on this issue given the impact of how this can break Prism even in log mode.
Context
SPS Commerce has reached out to us with this ask:
"We are the process of rolling out Prism in proxy mode to validate our APIs specs in services, in logging mode to evaluate traffic.
That is working quite well, except one MAJOR issue related to the stoplight platform functionality for “Send API Requests”.
Specifically, with the Prism Proxy in place with a command such as:
prism proxy design/v4.oas.yml http://localhost:5000/
If I then make a curl request to the service (notice I’ve included content-type for this GET request):
This will fail on the Prism side as follows:
Expected Outcome:
The text was updated successfully, but these errors were encountered: