apiclient.maas_client.MAASClient.post() always sets an op in the query string

Bug #1610414 reported by Felipe Reyes
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Felipe Reyes
Felipe Reyes

Bug Description

When trying to do POST operations using MAASClient the op argument is always set in the query string, so calls like this:

client.post('/devices/', as_json=True,

End up producing the url http://.../MAAS/api/2.0/devices/?op=update and MAAS api server replies with a Error 400

Tags: sts Edit Tag help

Related branches

Felipe Reyes (freyes)
Changed in maas:
assignee: nobody → Felipe Reyes (freyes)
Gavin Panella (allenap)
Changed in maas:
status: New → In Progress
Changed in maas:
milestone: none → 2.1.0
status: In Progress → Fix Committed
importance: Undecided → High
Changed in maas:
milestone: 2.0.1 → none
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers