Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4731

Dataplane add backend 400 error after 1 success

$
0
0

Hi im currently trying to use haproxy dataplane api to add backend servers.
It works once but im just getting err code 400 after the first attempt.

My command (only works the first time)

curl -X POST -H “Content-Type: application/json” --user {userParams} \ -d '{ "address": "'{address}’", “check”: “enabled”, “maxconn”: 1, “name”: "’{name}'", "port": '{port}’ }’
{url}/configuration/servers?backend=my_backend&version={version}&force_reload=true”

Is there a step im missing?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4731

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>