yanc0 / beeping

HTTP Monitoring via API - Measure the performance of your servers
MIT License
262 stars 14 forks source link

Json compatibility #2

Closed QuentinDeSoete closed 7 years ago

QuentinDeSoete commented 7 years ago

When I send a json in python it look like this : {"url": "url.example.com", "insecure": "true", "timeout": "20"} and I get "invalid json sent" from pingmeback.

QuentinDeSoete commented 7 years ago

In fact the problem was on my side. I had a wrong usage of argparse and I found my solution here : http://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse

yanc0 commented 7 years ago

Thank you for your feedback !