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
I noticed an unusual behavior of HUG when sending data to the server through a requests.post() in AWS environment:
my_params = {'ips': ['3.4.5.6'], 'nums_a': ['7', '8', '9', '10'], 'nums_b': ['11', '12', '13']}
requests.post("http://" + server_ip + ":8001/start_service", my_params).json()`
requests.post("http://" + server_ip + ":8001/start_service",
@hug.post('/start_nmap_service') def start_service(body): print(body["nums_a"]) --> ['7', '8', '9', '10']
@hug.post('/start_nmap_service') def start_service(body): print(body["ips"])
--> '3.4.5.6'
This behaviour does not occur if the same code is executed locally using docker-compose.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed an unusual behavior of HUG when sending data to the server through a requests.post() in AWS environment:
my_params = {'ips': ['3.4.5.6'], 'nums_a': ['7', '8', '9', '10'], 'nums_b': ['11', '12', '13']}
requests.post("http://" + server_ip + ":8001/start_service",
my_params).json()`@hug.post('/start_nmap_service')
def start_service(body):
print(body["ips"])
--> '3.4.5.6'
This behaviour does not occur if the same code is executed locally using docker-compose.
The text was updated successfully, but these errors were encountered: