2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
|
# File 'lib/postman_api.rb', line 2365
def schema_security_validation(data:)
url = @_base_url + "/security/api-validation"
params = {}
response = @_client.post(
url,
:params => params,
:json => data
)
if response.status.success?
response = response.parse
else
raise RequestError.new(
status_code=response.status,
method="post",
url=url,
message=response.reason,
)
end
response = PostSecurityAPIValidationResponse.from_dynamic!(response)
response
end
|