OVH JAVA API using Get request with parameters
... / OVH JAVA API using Get re...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

OVH JAVA API using Get request with parameters

Par
AymenR
Créé le 2019-05-15 10:21:12 (edited on 2024-09-04 12:14:31) dans Startup Program-old

I am trying to create a web interface to interact with OVH's API using the official JAVA wrapper OVH java wrapper.

I am trying to use a GET endpoint with parameters. this is the endpoint:

GET /telephony/{billingAccount}/line/{serviceName}/statistics

Parameters: buildingAccount : string;

serviceName: string;

timeframe: string;

type : string

This is how I am doing the call:

api.get("/telephony/{myBuildingAccount}/line/{myServiceNumber}/statistics", "timeframe=daily&type=maxDelay", true);
But I am getting an error 400 bad signature.

Could someone help me with this ?


Les réponses sont actuellement désactivées pour cette question.