Lazarus json-rpc client - client

What is the easy way to making json-rpc call from freepascal (lazarus)? If it possible with code give some examples. I am read fcl-web but can not find code example.

Related

What do protofiles represent for googles API Linter?

since google did not create extensive documentation for their API Linter and I cannot find anything from other sources, i wanted to ask here.
From what exactly am i supposed to create protofiles and what do they represent?
As I understood, these protofiles get checked for compliance to their AIPs.
I'm interested in creating a automatic prototype (Java) to check for customized API Rules and am thinking about using Protobufer for this goal. Would this be a pragmatic solution?
Thank you!
As I now understand, Googles API Linter isn't supposed to check a API or a different API specification for compliance.
It checks proto files because they are themself the API specification and can be converted to Code. But before converting them they can be checked against rules they have to comply with.
These rules are not in the protofiles (as I initially thought) but in the many GO-files under rules/ .
Please correct me if you read this and find mistakes! Thanks!

Use uTLS object in HTTP request

I'm trying to use utls.HelloChrome_Auto from https://github.com/refraction-networking/utls. In the documentation it says to use the tlsConnection from uTLS, however i can't seem to figure out where it'd fit with the net/http library.

Google Pay PaymentMethodTokenRecipient function implementation in Golang

I am trying to implement Google Pay decryption method as mentioned.
https://developers.google.com/pay/api/android/guides/resources/payment-data-cryptography#decrypt-token
It mentions to use tink library with the example of Java (PaymentMethodTokenRecipient) but I'm unable to duplicate it for Golang.
I'm not personally familiar with the library, but have a look at Tink.
There's a decrypt method that may do what you are after, and a cli that may help with how to use it: https://github.com/google/tink/blob/master/tools/testing/go/hybrid_decrypt_cli.go

How to implement web socket with Tapestry5-Hornet

I try to find an example how to implement web socket with Tapestry5-Hornet in my tapestry project. But, I can't find it. Can someone give me reference or example code to use this library?

What is the "annotate" method in Google Vision API?

I am reading the Google Vision API documentation:
(https://cloud.google.com/vision/docs/requests-and-responses)
It says something like the follwing:
Currently, the Vision API consists of one collection (images) which supports one HTTP Request method (annotate):
POST https://vision.googleapis.com/v1/images:annotate
My question is what does it mean by the method "annotate"? Also, how do I read this syntax with the colon ":"? Is this just a notation that Google uses or some kind of industry standard where you use the colon and calling the stuff after a "method"?
I am a financial Java developer but noob to Web/HTTP technology (I have read some basic of GET/POST but that did not seem to help me with this question). If it seems to you that I am totally lacking in some fundamentals, is there any pointer for me to read up some related books/website/tutorial/documentation that can help me understand this better? Any help is appreciated!

Resources