Task: Implement HTTP POST over SSL in Ruby
Task: Implement HTTP POST over SSL in Ruby: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Ruby script that correctly performs an HTTPS POST request with a JSON content type and JSON body. This task is based on a common issue where developers get a "415 Unsupported Media Type"…
The task
You need to write a Ruby script that correctly performs an HTTPS POST request with a JSON content type and JSON body. This task is based on a common issue where developers get a "415 Unsupported Media Type" error because they use form-encoded data instead of properly setting the JSON content type and sending a JSON…
Part of PrimeIntellect/Terminal-Lego-15k.