I want to get all price levels for crypto order book data from the Quoine Exchange. With this https-request I can only get the default 20 price levels:
https://api.quoine.com/products/1/price_levels/
Somehow, I need to include the 'full' parameter in my request and set it to 1:
https://developers.quoine.com/#get-a-product
Where do I have to insert this parameter in my request?
Any help appreciated! Thanks!
To add a parameter to a GET request you can use ? and &.
For example:
https://api.quoine.com/products/1/price_levels?full=1
And if you need to do more than one parameter
https://api.quoine.com/products/1/price_levels?full=1&moreparam=1
Related
what is two parameter in place a new order api called side and action ?
the side parameter accept Bid/Ask values ! why it is not Long/short ?
and how can I set the leverage for each order ?
here is the place new order api parameters:
enter image description here
I am looking for a parameter that get Long or Short values, and a parameter for getting leverage. where is it?
I have this problem that I show you in the picture
How I can add a string in the request?
This is my method in SpringBoot
This is the error
I edit the question to show this important picture. This is my table and "matricula" is a String and it is my ID
I need help to know how I can to add a String ID in the Postman request.
Thank you. Sorry for my English level.
Greetings.
For path /resource/{variableName}, the variableName must be same as the method parameter name or same as the alias in #PathVariable("variableName").
In your case, just change the mapping to #GetMapping("/coches/{matricula}"). And you should not use "" in request path. Request with /api/coches/1234ABC instead.
When is search for an item by giving its id the url i get is http://aa.bb.com/bikes/2 or http://aa.bb.com/bikes/3,
the value after bikes is dynamic based on my search results and corresponding page is displayed. How do i parameterize this in Jmeter?
I am using HTTP request sampler.
I added a csv config file, gave different ids and added these values in the parameter part and used the parameter variable in the URL path. But it is not working.
EX: the url path i gave as /aa.bb.com/bikes/${id} but its not working.
You can add 'debug sampler' to narrow down the root cause.
i figured out the way to do this.
I just mentioned the possible id values in a csv file.
Used the variable name in the url.
Ex: I created a idValues.csv file and used this file in CSV data set config.
Gave the variable name as value.
now in the HttpSampler in the path i mentioned as http://aa.bb.com/bikes/${value} and it worked.
Thank you.
i just start using yammer rest api and i need to get the comment on some thread.
The problem is, that, when i use the "Threaded: extended" parameter, i just got the 2 last comments. I tried to make a request using message api with "older_than" and "newer_than" parameter and as value, the "first_reply_id" and the "latest_reply_id" but it gave me another set of thread different from the comment list that i want to get.
Did anyone have an idea. thanks.
finally and thanks to this thread i used the following rest URL :
messages/in_thread/[message_ID].json
so, as i understand, the trick is to make request until the meta parameter "older_available" on json response is false or null, and for each message on the same json, check if the "replied_to_id" correspond to your thread ID. it's the only solution that i found until now and i'm not going to use it, as the rest api have limits on request number per time laps.
I have one question about shopping. I need aggregate one field Giftwrapped your order? Yes No. name=giftwrap id=giftwrap value=functionevalue(Radio) this validation is javascript and function, no problem with this. Now i have take the value giftwrap and send to group ajax and show this value in checkout review before confirm order, and then send the comment: the gift should be wrapped in the orden in the backend. I try, i search but no nothing functioned, please help.
Take a look at this Order Attributes extensions. It does exactly what you want for a relative cheap cost.