We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So lets see this JSON body
{ "configuration": { "type": "", "height": "apple", "width": false, "cost_in_usd": "not afforable" } }
If this is posted in a POST request, and I am using
require 'rack' require 'rack/contrib'
and
use Rack::JSONBodyParser helpers Sinatra::Param
use Rack::JSONBodyParser
helpers Sinatra::Param
I need to know how to validate the above mentioned JSON keys under configuration.
Type is empty, height and width and cost have wrongly provided values.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
So lets see this JSON body
If this is posted in a POST request, and I am using
require 'rack' require 'rack/contrib'
and
use Rack::JSONBodyParser
helpers Sinatra::Param
I need to know how to validate the above mentioned JSON keys under configuration.
Type is empty, height and width and cost have wrongly provided values.
The text was updated successfully, but these errors were encountered: